2 # Maintainer: Dany Martineau <dany.luc.martineau gmail.com>
7 pkgdesc="A puzzle type game using a block of bricks as the main character."
9 url="https://launchpad.net/bricker/"
13 source=(http://launchpad.net/${pkgname}/${pkgver}/${pkgver}/+download/${pkgname}-${pkgver}.tar.gz bricker.desktop)
14 md5sums=('70942f58b7510c3e0381e069df58711a' 'e577151166be3da7c7fc3a544d72c269')
19 mkdir -p ${pkgdir}/usr/share/{applications,bricker}
20 cp -R other levels media readme bricker GPL-3 AUTHORS ChangeLog ${pkgdir}/usr/share/bricker
21 install ${srcdir}/bricker.desktop ${pkgdir}/usr/share/applications
22 echo "#!/bin/bash" >> bricker.sh
23 echo "cd /usr/share/bricker/" >> bricker.sh
24 echo "./bricker" >> bricker.sh
25 mkdir -p ${pkgdir}/usr/bin
26 install -m 755 bricker.sh ${pkgdir}/usr/bin