updated on Thu Jan 26 16:09:46 UTC 2012
[aur-mirror.git] / polly-b-gone / PKGBUILD
blob7e1c2158e4f82eddde9600fb4f6169e5cdcae308
2 # Maintainer: Dany Martineau <dany.luc.martineau gmail com>
4 pkgname=polly-b-gone
5 pkgver=1.0
6 pkgrel=5
7 pkgdesc="3D physics platform game that tells the story of a plucky wheeled robot named Poll"
8 arch=('i686' 'x86_64')
9 url="http://cs.stanford.edu/people/mbostock/polly/"
10 license=('LGPL')
11 depends=('sdl_mixer' 'sdl_image' 'freeglut' 'glew' 'libgl')
12 source=('http://danym.org/archlinux/files/polly-src.tar.bz2' \
13         'polly-b-gone.png' 'polly-b-gone.desktop')
14 md5sums=('a6075c233fcc5a3c0bbf5d9f16683bdc' \
15          'e7d7277f263b4f9c5d6cd0032555f591' '086ab9c4274900488530cc2e70514a19')
17 build() {
18 cd ${srcdir}/polly-src
19 make
20 mkdir -p ${pkgdir}/usr/share/{applications,pixmaps,polly}
21 mkdir -p ${pkgdir}/usr/bin
22 cp -R Contents ${pkgdir}/usr/share/polly
23 cp Polly-B-Gone ${pkgdir}/usr/share/polly/
24 echo "cd '/usr/share/polly/' && ./Polly-B-Gone" > ${pkgdir}/usr/bin/polly.sh
25 chmod +x ${pkgdir}/usr/bin/polly.sh
26 install ${srcdir}/polly-b-gone.png ${pkgdir}/usr/share/pixmaps
27 install ${srcdir}/polly-b-gone.desktop ${pkgdir}/usr/share/applications