summarylogtreecommitdiffstats
path: root/PKGBUILD
diff options
context:
space:
mode:
authorIvan Puntiy2016-02-23 01:09:43 +0200
committerIvan Puntiy2016-02-23 01:09:43 +0200
commit1b3759c4feaa6fc2ed1fc283746a3047cf67048d (patch)
tree0b2d852f3940c7af5f645e1323e34af2ad450951 /PKGBUILD
parent900e555fc26235cac185abbd5aee77241fe61c69 (diff)
downloadaur-1b3759c4feaa6fc2ed1fc283746a3047cf67048d.tar.gz
Fixed desktop entry
Diffstat (limited to 'PKGBUILD')
-rw-r--r--PKGBUILD5
1 files changed, 3 insertions, 2 deletions
diff --git a/PKGBUILD b/PKGBUILD
index 3ed2309a237d..ca2a841dc819 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -4,7 +4,7 @@
pkgname=runescape-launcher
pkgver=2.0.7
-pkgrel=2
+pkgrel=3
pkgdesc="RuneScape MMORPG – NXT client core"
arch=(x86_64)
license=(custom)
@@ -17,6 +17,7 @@ depends=(
sdl2
webkitgtk2
desktop-file-utils
+ gtk-update-icon-cache
)
conflicts=(runescape-launcher-nxt)
provides=(runescape-launcher-nxt)
@@ -50,7 +51,7 @@ package() {
install -Dm0644 runescape.$size.png \
"$pkgdir"/usr/share/icons/hicolor/${size}x${size}/apps/runescape.png
done
- sed -i 's/^Icon=.*/Icon=runescape/' "$pkgdir"/usr/share/applications/runescape-launcher.desktop
+ sed -i 's/^Icon=.*/Icon=runescape/;s/^Version=.*/Version=1.0/;s/^Catagories=/Categories=/' "$pkgdir"/usr/share/applications/runescape-launcher.desktop
install -Dm0755 wrapper.sh "$pkgdir"/usr/bin/runescape-launcher
install -Dm0644 copyright "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
}