updated on Thu Jan 26 12:02:26 UTC 2012
[aur-mirror.git] / bricker / PKGBUILD
blob092b7f558db986b25241ff90d3e20725c61b9f7c
2 # Maintainer: Dany Martineau <dany.luc.martineau gmail.com>
4 pkgname=bricker
5 pkgver=1.0.0
6 pkgrel=2
7 pkgdesc="A puzzle type game using a block of bricks as the main character."
8 arch=('i686' 'x86_64')
9 url="https://launchpad.net/bricker/"
10 license=('GPL3')
11 depends=('sdl_image')
12 madepends=('make')
13 source=(http://launchpad.net/${pkgname}/${pkgver}/${pkgver}/+download/${pkgname}-${pkgver}.tar.gz bricker.desktop)
14 md5sums=('70942f58b7510c3e0381e069df58711a' 'e577151166be3da7c7fc3a544d72c269')
16 build() {
17 cd ${srcdir}
18 make || return 1
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