summarylogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--.SRCINFO4
-rw-r--r--PKGBUILD2
-rw-r--r--runescape-launcher.install13
3 files changed, 18 insertions, 1 deletions
diff --git a/.SRCINFO b/.SRCINFO
index 317e965b0576..3bd358858be1 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,10 +1,11 @@
# Generated by mksrcinfo v8
-# Fri Feb 19 17:35:20 UTC 2016
+# Fri Feb 19 19:59:38 UTC 2016
pkgbase = runescape-launcher
pkgdesc = RuneScape MMORPG – NXT client core
pkgver = 2.0.7
pkgrel = 1
url = https://www.runescape.com/
+ install = runescape-launcher.install
arch = x86_64
license = custom
depends = glew1.10
@@ -13,6 +14,7 @@ pkgbase = runescape-launcher
depends = libvorbis
depends = sdl2
depends = webkitgtk2
+ depends = desktop-file-utils
conflicts = runescape-launcher-nxt
replaces = runescape-launcher-nxt
source = wrapper.sh
diff --git a/PKGBUILD b/PKGBUILD
index 251061f5f76d..5caafd5c644a 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -16,9 +16,11 @@ depends=(
libvorbis
sdl2
webkitgtk2
+ desktop-file-utils
)
conflicts=(runescape-launcher-nxt)
replaces=(runescape-launcher-nxt)
+install=$pkgname.install
source=("wrapper.sh"
"runescape.16.png"
"runescape.24.png"
diff --git a/runescape-launcher.install b/runescape-launcher.install
new file mode 100644
index 000000000000..bb10b7de03f0
--- /dev/null
+++ b/runescape-launcher.install
@@ -0,0 +1,13 @@
+post_install() {
+ update-desktop-database -q
+}
+
+post_upgrade() {
+ post_install "$1"
+}
+
+post_remove() {
+ update-desktop-database -q
+}
+
+# vim:set ts=2 sw=2 et: