summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorMichael Straube2017-02-22 09:29:07 +0100
committerMichael Straube2017-02-22 09:29:07 +0100
commitba2fa1b248ac68527004f9582e1f4bca7b16e6d6 (patch)
treecdf2e426445bbeec13c61bd407f0cd4508cb7970
parent2b45c7b26a6905d290a401d4da324337d46d501f (diff)
downloadaur-ba2fa1b248ac68527004f9582e1f4bca7b16e6d6.tar.gz
Use gendesk
-rw-r--r--.SRCINFO3
-rw-r--r--PKGBUILD9
-rw-r--r--gods.desktop10
3 files changed, 5 insertions, 17 deletions
diff --git a/.SRCINFO b/.SRCINFO
index 6d72a4cd628a..ea49e25089c9 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -6,16 +6,15 @@ pkgbase = gods
arch = any
license = custom
makedepends = setconf
+ makedepends = gendesk
depends = java-runtime
noextract = Gods_extra_music.zip
source = https://jotd.pagesperso-orange.fr/gods/GodsDeluxe-0_9.zip
source = http://jotd.free.fr/gods/Gods_extra_music.zip
source = gods.png::http://www.androidfreeware.net/software_images/gods.thumb.png
- source = gods.desktop
sha256sums = 38fe593a9ed361c65e4a4c36dd4940cde8c847849f1d5e9f15eb940089428a9c
sha256sums = 0b92f6e8a056362af481343df2e31eb001b55e43065556e6f4c625b8933c9ca7
sha256sums = d40a00737cfcc82bb4b24110ac5d162da5dddf6041a5d83b94a2c0104ac3a2e3
- sha256sums = 176170bb9642eaf3c37d9d393f122334ae5080c9f9a4b69eea27d49855aa41e0
pkgname = gods
optdepends = gods-extra-music: mp3 music pack
diff --git a/PKGBUILD b/PKGBUILD
index 4b03c54cb5d1..c930201228bb 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -10,15 +10,13 @@ arch=('any')
url='http://jotd.pagesperso-orange.fr/gods/'
license=('custom')
depends=('java-runtime')
-makedepends=('setconf')
+makedepends=('setconf' 'gendesk')
source=("https://jotd.pagesperso-orange.fr/gods/GodsDeluxe-${pkgver/./_}.zip"
"http://jotd.free.fr/gods/Gods_extra_music.zip"
- "gods.png::http://www.androidfreeware.net/software_images/gods.thumb.png"
- "gods.desktop")
+ "gods.png::http://www.androidfreeware.net/software_images/gods.thumb.png")
sha256sums=('38fe593a9ed361c65e4a4c36dd4940cde8c847849f1d5e9f15eb940089428a9c'
'0b92f6e8a056362af481343df2e31eb001b55e43065556e6f4c625b8933c9ca7'
- 'd40a00737cfcc82bb4b24110ac5d162da5dddf6041a5d83b94a2c0104ac3a2e3'
- '176170bb9642eaf3c37d9d393f122334ae5080c9f9a4b69eea27d49855aa41e0')
+ 'd40a00737cfcc82bb4b24110ac5d162da5dddf6041a5d83b94a2c0104ac3a2e3')
noextract=('Gods_extra_music.zip')
prepare() {
@@ -26,6 +24,7 @@ prepare() {
find Gods -type f -iname "*.dll" -delete
setconf Gods/gods.sh GODS_ROOT_DIR "/usr/share/gods"
chmod +x Gods/scripts/gods_loader.sh
+ gendesk -f --pkgname=$pkgname --pkgdesc="$pkgdesc"
mkdir Music
bsdtar -xf Gods_extra_music.zip -C Music
diff --git a/gods.desktop b/gods.desktop
deleted file mode 100644
index a16fb7b992b5..000000000000
--- a/gods.desktop
+++ /dev/null
@@ -1,10 +0,0 @@
-[Desktop Entry]
-Encoding=UTF-8
-Type=Application
-Name=Gods
-Comment=Gods Deluxe, remake of the platform game Gods by Bitmap Brothers
-Exec=gods
-Icon=gods
-Terminal=false
-StartupNotify=false
-Categories=Application;Game;