1 # Contributor: Simon Lipp <sloonz+aur@gmail.com>
6 pkgdesc="Rewrite of an old bomberman-like"
8 url="http://narroin.free.fr/dstroy/"
11 makedepends=('make' 'gcc')
12 source=('http://narroin.free.fr/dstroy/res/dstroySrc_20090214.zip'
13 'http://narroin.free.fr/dstroy/res/dstroyWin32_20090206.zip')
14 md5sums=('31004c2af56f1aae807968dd3df87d07'
15 '291d86e0e32b64d220352526dca0167f')
18 cd "$srcdir/dstroy_src"
19 make -f Makefile.linux DATADIR=/usr/share/dstroy || return 1
21 # Don't use makefile for installation: do too many crap (a "game" group, a RPM spec,...)
22 install -d "$pkgdir/usr/bin" &&
23 install -d "$pkgdir/usr/share/dstroy" &&
24 install -d "$pkgdir/usr/share/licenses/dstroy" || return 1
26 install --mode=755 "$srcdir/dstroy_src/dstroy" "$pkgdir/usr/bin" &&
27 install --mode=644 "$srcdir/dstroy_src/LICENSE.txt" "$pkgdir/usr/share/licenses/dstroy/LICENSE" &&
28 install --mode=644 "$srcdir/dstroy_src/LICENSE-data.txt" "$pkgdir/usr/share/licenses/dstroy/LICENSE-data" || return 1
30 for f in "$srcdir"/dstroy/dstroydata/* ; do
31 install --mode=644 "$f" "$pkgdir/usr/share/dstroy" || return 1