1 # Contributor: Giovanni Cucca <giovanni.cucca@gmail.com>
2 # Maintainer: Dany Martineau <dany.luc.martineau gmail.com>
7 pkgdesc="Simple game similar to the classical game Marble Madness on the Amiga in the 80's"
10 url="http://trackballs.sourceforge.net/"
11 depends=('guile>=1.8.1' 'sdl_ttf' 'sdl_image' 'sdl_mixer' 'mesa')
12 source=(http://downloads.sourceforge.net/sourceforge/$pkgname/$pkgname-$pkgver.tar.gz \
13 http://downloads.sourceforge.net/sourceforge/$pkgname/SixLevels.tar.gz \
14 trackballs.desktop trackballs.patch)
15 md5sums=('84e2e8bb68842a636da91673751279a0' '2bb730894a85334a681cfd9f40fe075e' \
16 '831053e0375b14c905b6cb534ea134a4' '3c383cf4b88330e6b14dea8881667ab9' )
19 cd ${srcdir}/$pkgname-$pkgver
20 patch -p1 < ../trackballs.patch
21 ./configure --prefix=/usr --with-sdl-prefix=/usr --disable-sdltest --with-highscores="~"
23 make DESTDIR=${startdir}/pkg install
24 install -m644 ${srcdir}/*.map ${pkgdir}/usr/share/trackballs/levels
25 install -m644 ${srcdir}/*.scm ${pkgdir}/usr/share/trackballs/levels
26 install -m644 ${srcdir}/*.jpg ${pkgdir}/usr/share/trackballs/levels
27 install -m644 ${srcdir}/*.set ${pkgdir}/usr/share/trackballs/levels
29 mkdir -p ${pkgdir}/usr/share/applications
30 install -m644 ${srcdir}/trackballs.desktop \
31 ${pkgdir}/usr/share/applications/