summarylogtreecommitdiffstats
path: root/PKGBUILD
diff options
context:
space:
mode:
authorCôme Chilliet2016-01-10 19:58:19 +0700
committerCôme Chilliet2016-01-10 19:58:19 +0700
commit4800214a7d02650dc66b3ba0418589901a79ec69 (patch)
tree6ab520214d418042439d372d0d5cc4f58a19bd9a /PKGBUILD
parenta213c7268b16aa78780c7257d4c09c9972766774 (diff)
downloadaur-4800214a7d02650dc66b3ba0418589901a79ec69.tar.gz
Updated to new release, added icon
Diffstat (limited to 'PKGBUILD')
-rw-r--r--PKGBUILD16
1 files changed, 9 insertions, 7 deletions
diff --git a/PKGBUILD b/PKGBUILD
index e1f5b68c363..1834e664ae0 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -1,18 +1,18 @@
# Mantainer: MCMic <come@chilliet.eu>
pkgname=wyrmsun
-pkgver=1.9.6
+pkgver=1.9.7
pkgrel=1
pkgdesc="Real-time strategy game based on history, mythology and fiction"
arch=('i686' 'x86_64')
url="http://www.indiedb.com/games/wyrmsun"
license=('GPL' 'CC-BY-SA')
-depends=()
-makedepends=('cmake' 'gendesk' 'sdl' 'tolua++')
-source=("wyrmsun.tar.gz::https://github.com/Andrettin/Wyrmsun/archive/v${pkgver}.tar.gz"
- "wyrmgus.tar.gz::https://github.com/Andrettin/Wyrmgus/archive/v${pkgver}.tar.gz")
-md5sums=('5232b391f9d2142da566d5441996709e'
- '35c24d85e645032f33d6e97752910304')
+depends=('sdl')
+makedepends=('cmake' 'gendesk' 'tolua++')
+source=("wyrmsun-${pkgver}.tar.gz::https://github.com/Andrettin/Wyrmsun/archive/v${pkgver}.tar.gz"
+ "wyrmgus-${pkgver}.tar.gz::https://github.com/Andrettin/Wyrmgus/archive/v${pkgver}.tar.gz")
+md5sums=('08644484be381125dd013608aac9fe07'
+ '5ceabdef6a96c1e842b1a899a5b12bd6')
_name='Wyrmsun'
_categories='Game;StrategyGame'
@@ -30,10 +30,12 @@ package() {
cd ${srcdir}/
mkdir -p ${pkgdir}/usr/share/${pkgname}
mkdir -p ${pkgdir}/usr/bin/
+ mkdir -p ${pkgdir}/usr/share/icons/hicolor/128x128/apps/
echo -e "#!/bin/sh\nexec /usr/bin/wyrmgus -d /usr/share/${pkgname}" > ${pkgdir}/usr/bin/${pkgname}
chmod +x ${pkgdir}/usr/bin/${pkgname}
install -Dm644 "${srcdir}/${pkgname}.desktop" "${pkgdir}/usr/share/applications/${pkgname}.desktop"
install -D -m755 ${srcdir}/Wyrmgus-${pkgver}/stratagus ${pkgdir}/usr/bin/wyrmgus
cd ${srcdir}/Wyrmsun-${pkgver}
cp -a graphics maps music scripts sounds translations ${pkgdir}/usr/share/${pkgname}/
+ cp graphics/ui/icons/wyrmsun_icon_128.png ${pkgdir}/usr/share/icons/hicolor/128x128/apps/${pkgname}.png
}