1 # Maintainer: andy123 < ajs @ online . de >
6 pkgdesc="A 3D Jump & Run set in a small world of wood-blocks"
7 url="http://blocks-game.sourceforge.net/"
10 depends=('libvorbis' 'ftgl')
11 makedepends=('scons' 'glfw')
12 source=("http://sourceforge.net/projects/${pkgname}/files/${pkgname}/${pkgver}/Blocks-${pkgver}.tar.bz2"
14 sha512sums=('336f0deca5c170edd21d383ff54734923f61961bc89343889a291df19700d29c8b83cf3776715bf8a50a129ef6dbec1f4dcdc9992f8f39b7a9a25907fb199e29'
15 'a52b8b5d4b17ff065ab55c3917b67b4bb0886029ce514b3e217db201a267044f10d34eb41a2c7b7bbc71c5e681c730ba1dfc45e16f9264d2838bdbd518eb70b4')
18 cd "${srcdir}/Blocks-${pkgver}"
23 cd "${srcdir}/Blocks-${pkgver}"
24 mkdir -p $pkgdir/usr/share/$pkgname/
25 mkdir -p $pkgdir/usr/bin/
26 cp -R data/ $pkgdir/usr/share/$pkgname/
27 cp -R levels/ $pkgdir/usr/share/$pkgname/
28 cp -R shaders/ $pkgdir/usr/share/$pkgname/
29 cp Blocks $pkgdir/usr/share/$pkgname/
30 cp config.xml $pkgdir/usr/share/$pkgname/
31 chmod a+rw $pkgdir/usr/share/$pkgname/config.xml
32 cp "${srcdir}"/launcher.sh $pkgdir/usr/bin/$pkgname
33 chmod +x $pkgdir/usr/bin/$pkgname