summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorMichael Straube2017-02-11 16:15:14 +0100
committerMichael Straube2017-02-11 16:15:14 +0100
commit1a9764c964d7c3c0e2338fff90f2ded93835cbe8 (patch)
treebf38f5c9e6bcfa122372b64de2580d9962fca3a8
parentc49d362a0b8514a56964303baa0b5b343790dc79 (diff)
downloadaur-1a9764c964d7c3c0e2338fff90f2ded93835cbe8.tar.gz
Update to 0.9
-rw-r--r--.SRCINFO19
-rw-r--r--PKGBUILD28
-rw-r--r--gods.desktop10
3 files changed, 32 insertions, 25 deletions
diff --git a/.SRCINFO b/.SRCINFO
index 677e7a009377..19ccf81f9225 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,22 +1,19 @@
-# Generated by mksrcinfo v8
-# Tue Aug 23 11:38:03 UTC 2016
pkgbase = gods
pkgdesc = Gods Deluxe, remake of the platform game Gods by Bitmap Brothers
- pkgver = 0_8.D
+ pkgver = 0.9
pkgrel = 1
url = http://jotd.pagesperso-orange.fr/gods/
- arch = x86_64
- arch = i686
+ arch = any
license = custom
- makedepends = java-runtime
- makedepends = unzip
makedepends = setconf
- makedepends = gendesk
- noextract = GodsDeluxe-0_8-D.zip
- source = http://jotd.pagesperso-orange.fr/gods/GodsDeluxe-0_8-D.zip
+ depends = java-runtime
+ optdepends = gods-extra-music: mp3 music pack
+ source = https://jotd.pagesperso-orange.fr/gods/GodsDeluxe-0_9.zip
source = gods.png::http://www.androidfreeware.net/software_images/gods.thumb.png
- sha256sums = c620c162f4b5c66961472ee2922dd2a4e9bb2f6b8e70774c5daca0b78ac1b20c
+ source = gods.desktop
+ sha256sums = 38fe593a9ed361c65e4a4c36dd4940cde8c847849f1d5e9f15eb940089428a9c
sha256sums = d40a00737cfcc82bb4b24110ac5d162da5dddf6041a5d83b94a2c0104ac3a2e3
+ sha256sums = 176170bb9642eaf3c37d9d393f122334ae5080c9f9a4b69eea27d49855aa41e0
pkgname = gods
diff --git a/PKGBUILD b/PKGBUILD
index d024b782468e..500bb9204a6a 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -1,36 +1,36 @@
-# Maintainer: Alexander F Rødseth <xyproto@archlinux.org>
+# Maintainer: Michael Straube <straubem@gmx.de>
+# Contributor: Alexander F Rødseth <xyproto@archlinux.org>
pkgname=gods
-pkgver=0_8.D
+pkgver=0.9
pkgrel=1
pkgdesc='Gods Deluxe, remake of the platform game Gods by Bitmap Brothers'
-arch=('x86_64' 'i686')
+arch=('any')
url='http://jotd.pagesperso-orange.fr/gods/'
license=('custom')
-makedepends=('java-runtime' 'unzip' 'setconf' 'gendesk')
-source=("http://jotd.pagesperso-orange.fr/gods/GodsDeluxe-${pkgver/./-}.zip"
- "gods.png::http://www.androidfreeware.net/software_images/gods.thumb.png")
-noextract=("GodsDeluxe-${pkgver/./-}.zip")
-sha256sums=('c620c162f4b5c66961472ee2922dd2a4e9bb2f6b8e70774c5daca0b78ac1b20c'
- 'd40a00737cfcc82bb4b24110ac5d162da5dddf6041a5d83b94a2c0104ac3a2e3')
+depends=('java-runtime')
+makedepends=('setconf')
+optdepends=('gods-extra-music: mp3 music pack')
+source=("https://jotd.pagesperso-orange.fr/gods/GodsDeluxe-${pkgver/./_}.zip"
+ "gods.png::http://www.androidfreeware.net/software_images/gods.thumb.png"
+ "gods.desktop")
+sha256sums=('38fe593a9ed361c65e4a4c36dd4940cde8c847849f1d5e9f15eb940089428a9c'
+ 'd40a00737cfcc82bb4b24110ac5d162da5dddf6041a5d83b94a2c0104ac3a2e3'
+ '176170bb9642eaf3c37d9d393f122334ae5080c9f9a4b69eea27d49855aa41e0')
prepare() {
- rm -rf Gods; unzip -q "GodsDeluxe-${pkgver/./-}.zip"
find Gods -type f -iname "*.bat" -delete
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
}
package() {
install -d "$pkgdir/usr/share"
- cp -ru Gods "$pkgdir/usr/share/gods"
+ cp -r Gods "$pkgdir/usr/share/gods"
install -Dm755 Gods/gods.sh "$pkgdir/usr/bin/gods"
rm -f "$pkgdir/usr/share/gods/gods.sh"
install -Dm644 Gods/readme.txt "$pkgdir/usr/share/licenses/$pkgname/readme.txt"
install -Dm644 gods.desktop "$pkgdir/usr/share/applications/gods.desktop"
install -Dm644 gods.png "$pkgdir/usr/share/pixmaps/gods.png"
}
-
-# vim:set ts=2 sw=2 et:
diff --git a/gods.desktop b/gods.desktop
new file mode 100644
index 000000000000..a16fb7b992b5
--- /dev/null
+++ b/gods.desktop
@@ -0,0 +1,10 @@
+[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;