1 # Contributor: Stefan Mark <mark@unserver.de>
6 pkgdesc="Kill all those cute fluffy bunnys! Spill their blood!!"
8 url="http://e-x-a.org/?view=projects"
10 depends=('freealut' 'openal' 'freetype2' 'libvorbis' 'libpng' 'sdl' 'freeglut' 'scons')
11 makedepends=('scons' 'wget')
13 _gitroot="http://e-x-a.org/repos/bunnykill.git"
19 msg "Connecting to GIT server...."
21 if [ -d $_gitname ] ; then
22 cd $_gitname && git pull origin
23 msg "The local files are updated."
25 git clone $_gitroot $_gitname
28 cd "$srcdir/$_gitname"
30 msg "GIT checkout done or server timeout"
33 wget -N 0mark.unserver.de/filez/bunnykill_patch.1.diff
34 patch -p 1 -N < bunnykill_patch.1.diff || true
36 msg "Starting scons..."
39 msg "And installing..."
40 mkdir -p $pkgdir/usr/share/bunnykill
41 cp -R data $pkgdir/usr/share/bunnykill
42 mkdir -p $pkgdir/usr/bin
43 cp bunnykill $pkgdir/usr/bin