summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorCharlie Waters2020-01-31 22:59:25 -0500
committerCharlie Waters2020-01-31 23:02:51 -0500
commiteb2df133a34523a122d8e16f4eb9616d2cf4237e (patch)
treef22005847dc5bff7836dd149f861358d14196be1
downloadaur-eb2df133a34523a122d8e16f4eb9616d2cf4237e.tar.gz
Initial commit, OpenOSRS Launcher v2.1.9.1
-rw-r--r--.SRCINFO16
-rw-r--r--PKGBUILD36
-rw-r--r--openosrs-launcher.desktop9
3 files changed, 61 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO
new file mode 100644
index 00000000000..e3786096e5c
--- /dev/null
+++ b/.SRCINFO
@@ -0,0 +1,16 @@
+pkgbase = openosrs-launcher-appimage
+ pkgdesc = Open-source client for Old School RuneScape with more functionality and less restrictions. (AppImage Launcher)
+ pkgver = 2.1.9.1
+ pkgrel = 1
+ url = https://github.com/open-osrs/launcher
+ arch = x86_64
+ license = BSD
+ optdepends = gvfs: enable links
+ options = !strip
+ source = https://github.com/open-osrs/launcher/releases/download/2.1.9.1/OpenOSRS.AppImage
+ source = openosrs-launcher.desktop
+ sha256sums = b16f5d2323194a746cff10f91a40da3b3c9f5c1ca7b039b5659c3e260afe8781
+ sha256sums = SKIP
+
+pkgname = openosrs-launcher-appimage
+
diff --git a/PKGBUILD b/PKGBUILD
new file mode 100644
index 00000000000..9eb20d6a55a
--- /dev/null
+++ b/PKGBUILD
@@ -0,0 +1,36 @@
+# Maintainer: Charlie Waters <cawiii at me dot com>
+
+pkgname=openosrs-launcher-appimage
+pkgver=2.1.9.1
+pkgrel=1
+pkgdesc='Open-source client for Old School RuneScape with more functionality and less restrictions. (AppImage Launcher)'
+arch=('x86_64')
+license=('BSD')
+url='https://github.com/open-osrs/launcher'
+_appimage='OpenOSRS.AppImage'
+source=("https://github.com/open-osrs/launcher/releases/download/${pkgver}/${_appimage}"
+ openosrs-launcher.desktop)
+sha256sums=('b16f5d2323194a746cff10f91a40da3b3c9f5c1ca7b039b5659c3e260afe8781'
+ 'SKIP')
+options=(!strip)
+optdepends=('gvfs: enable links')
+
+prepare() {
+ chmod +x ${_appimage}
+ ./${_appimage} --appimage-extract > /dev/null
+}
+
+package() {
+ install -Dm644 \
+ "${srcdir}/openosrs-launcher.desktop" \
+ "${pkgdir}/usr/share/applications/openosrs-launcher.desktop"
+
+ install -Dm644 \
+ "${srcdir}/squashfs-root/openosrs.png" \
+ "${pkgdir}/usr/share/pixmaps/openosrs-launcher.png"
+
+ install -Dm755 \
+ "${srcdir}/${_appimage}" \
+ "${pkgdir}/usr/bin/openosrs-launcher"
+}
+
diff --git a/openosrs-launcher.desktop b/openosrs-launcher.desktop
new file mode 100644
index 00000000000..70fede9460b
--- /dev/null
+++ b/openosrs-launcher.desktop
@@ -0,0 +1,9 @@
+[Desktop Entry]
+Name=OpenOSRS Launcher
+GenericName=RuneLite OpenOSRS
+Comment=Open source Old School RuneScape client.
+Exec=openosrs-launcher
+Icon=openosrs-launcher
+Terminal=false
+Type=Application
+Categories=Game;