1 # Maintainer: Arkham <arkham at archlinux dot us>
2 # Contributor: Arkham <arkham at archlinux dot us>
7 pkgdesc="A fun puzzle game: jump, grab ledges, push blocks, activate switches and avoid level hazards!"
9 url="http://www.bazosoft.com/index.php?a=games"
11 depends=('zlib' 'alsa-lib' 'libxpm' 'libxrandr')
12 source=(http://www.bazosoft.com/_downloads/$pkgname.v.$pkgver.zip
14 md5sums=('104065a42e55a765e43f3a3e7b838bc5'
15 'bd4631e1f2374f255c20e17a87334ee0')
19 cd $srcdir/$pkgname.v.$pkgver
20 rm -f boondog-windows.exe zlib1.dll dat/plug-mm.dll
22 # Copy and set correct permissions
23 install -d $pkgdir/usr/share/$pkgname
24 cp -r . $pkgdir/usr/share/$pkgname/
25 find $pkgdir/usr/share/$pkgname -type f -exec chmod 644 {} +
26 find $pkgdir/usr/share/$pkgname -type d -exec chmod 755 {} +
27 chmod 755 $pkgdir/usr/share/$pkgname/$pkgname-linux
29 # These are needed to be able to navigate the levelpacks and save the game
30 chmod 777 $pkgdir/usr/share/$pkgname/packs/*
31 chmod 666 $pkgdir/usr/share/$pkgname/dat/save.dat
33 # Install license and bin (which calls reset on exit to clear some console spam)
34 install -Dm 644 readme.txt $pkgdir/usr/share/licenses/$pkgname/readme.txt
35 install -Dm 755 $srcdir/$pkgname.sh $pkgdir/usr/bin/$pkgname