2 # Maintainer: Dany Martineau <dany.luc.martineau gmail com>
7 pkgdesc="3D physics platform game that tells the story of a plucky wheeled robot named Poll"
9 url="http://cs.stanford.edu/people/mbostock/polly/"
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')
18 cd ${srcdir}/polly-src
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