diff options
author | Piotr Rogoża | 2015-06-14 15:34:24 +0200 |
---|---|---|
committer | Piotr Rogoża | 2015-06-14 15:34:24 +0200 |
commit | 325f3c122c17d671d124936f0b8d982fec43e79a (patch) | |
tree | 57fe708182d53d3d27ab0022b672992e4417195c /PKGBUILD | |
download | aur-darkgates.tar.gz |
Initial import
Diffstat (limited to 'PKGBUILD')
-rw-r--r-- | PKGBUILD | 52 |
1 files changed, 52 insertions, 0 deletions
diff --git a/PKGBUILD b/PKGBUILD new file mode 100644 index 000000000000..22d8d7b1292f --- /dev/null +++ b/PKGBUILD @@ -0,0 +1,52 @@ +# vim:set ts=2 sw=2 et ft=sh tw=100: expandtab +# Contributor: Piotr Rogoża <rogoza dot piotr at gmail dot com> +# Maintainer: Piotr Rogoża <rogoza dot piotr at gmail dot com> + +pkgname=darkgates +_pkgname=DarkGates +pkgver=alpha_0.2.0 +pkgrel=1 +pkgdesc='You lead your team of 6 heroes into dungeon where they will fight their way trough in order to destroy Dark Gates and evil mage who is the master of the dungeon' +arch=('i686' 'x86_64') +url='http://darkgates.dfourgames.com/' +license=('custom') +groups=() +depends=(sh zlib hicolor-icon-theme) +makedepends=() +optdepends=() +provides=() +conflicts=() +replaces=() +backup=() +options=(!strip) +install='darkgates.install' +source=(http://darkgates.dfourgames.com/download/${_pkgname}_${pkgver}.tar.gz + darkgates.sh + darkgates.desktop +) +noextract=() +build(){ + cd "$srcdir/" + install -dm755 $pkgdir/opt/$pkgname + cp -r ${_pkgname}_$pkgver/* $pkgdir/opt/$pkgname + + install -Dm644 $pkgdir/opt/$pkgname/LICENCE.txt \ + $pkgdir/usr/share/licenses/custom/$pkgname/LICENCE.txt + install -Dm755 darkgates.sh $pkgdir/usr/bin/darkgates + + # Settings, everyone must be able to write + chmod a+w $pkgdir/opt/$pkgname/settings.cfg + + # desktop files and icons + install -Dm644 darkgates.desktop "$pkgdir"/usr/share/applications/darkgates.desktop + for _dim in 32x32 48x48 64x64 96x96 128x128; do + install -Dm644 "$pkgdir"/opt/$pkgname/data/default/icons/icon${_dim}.png \ + "$pkgdir"/usr/share/icons/hicolor/${_dim}/apps/$pkgname.png + done +} +md5sums=('2b1737b6556e489a19268694aa858a4a' + '120df982c8bb68a41116454da262eb9b' + '3430ccb16bb6494d4d81ef139cd15383') +md5sums=('2b1737b6556e489a19268694aa858a4a' + '2e828dccefa0e6018601e73e8c697e1f' + '3430ccb16bb6494d4d81ef139cd15383') |