1 # Contributor: b4283 <damispirit@gmail>
6 pkgdesc="A puzzle game involving moving and stacking blocks with 8-bit graphics and sounds."
9 url="http://sourceforge.net/projects/blockling/"
10 depends=(sdl sdl_mixer)
11 source=(http://downloads.sourceforge.net/project/blockling/blockling-src-r219.tar.gz
13 md5sums=('6a1d5ad29dc88cba9e4ddf9e4a90318a'
14 'fee392ea45fbec1e55fc198b491f7d1f')
16 srcdir2="${srcdir}/${pkgname}-${pkgver}"
20 patch -p0 < ../makefile.patch
23 mkdir -p ${pkgdir}/usr/share/blockling/ ${pkgdir}/usr/bin/
24 install ${srcdir2}/blockling ${pkgdir}/usr/share/blockling
25 cp -r ${srcdir2}/data ${pkgdir}/usr/share/blockling/
27 echo -e '#!/bin/bash\n\ncd ${HOME}\n/usr/share/blockling/blockling $*\nexit $?' > ${pkgdir}/usr/bin/blockling
28 chmod 755 ${pkgdir}/usr/bin/blockling
30 md5sums=('6a1d5ad29dc88cba9e4ddf9e4a90318a'
31 '2ee474c1bb00b69a9a020fed5b720f80')