1 # Maintainer: Dany Martineau <dany.luc.martineau@gmail.com>
6 pkgdesc="Tile based platform puzzle game."
8 depends=('sdl_ttf' 'sdl_mixer' 'sdl_mixer')
10 source=(http://downloads.sourceforge.net/balloons-ng/${pkgname}-0.1.8-3-src.tar.gz scoreList.diff
11 balloons.desktop HIGH.DAT)
12 url="http://sourceforge.net/projects/balloons-ng/"
14 md5sums=('afdd815a7c2e9c4c007704473f089f7e' '5a9c8f36cfc63721c619805f533b8121'
15 'be4c5e439a99c7ae25d3f13affb2b474' 'b9a6a247d322bba6c5bd4ff9427f91b8')
16 install=(balloons.install)
19 cd ${srcdir}/${pkgname}-0.1.8-3
20 patch -p0 < ${srcdir}/scoreList.diff
21 ./configure --prefix=/usr
23 mkdir -p ${pkgdir}/usr/share/{balloons,applications}
24 cp -r data ${pkgdir}/usr/share/balloons/
25 install src/balloons ${pkgdir}/usr/share/balloons/
26 mkdir -p ${pkgdir}/usr/bin
27 echo "cd '/usr/share/balloons/' && ./balloons" > ${pkgdir}/usr/bin/balloons.sh
28 chmod a+x ${pkgdir}/usr/bin/balloons.sh
29 cp doc/*.gif ${pkgdir}/usr/share/balloons/data
30 install ${srcdir}/balloons.desktop ${pkgdir}/usr/share/applications
31 install ${srcdir}/HIGH.DAT ${pkgdir}/usr/share/balloons/data