1 # Maintainer: Jozef Riha <jose1711 at gmail dot com>
6 pkgdesc="a simple pong remake"
9 url="http://sourceforge.net/projects/retropong/"
10 source=("http://downloads.sourceforge.net/project/${pkgname}/${pkgname}.tar.gz" "retropong.desktop")
11 depends=('sdl_mixer' 'sdl_ttf' 'bash')
12 md5sums=('cf5b70d1960419261530152243ee60d0'
13 'e065c2ebfa1d76cddc163811d1fb8fba')
17 gcc -o retropong -lSDL -lSDL_mixer -lSDL_ttf retropong.c
22 install -D -m755 ./retropong $pkgdir/usr/share/retropong/retropong
23 install -D -m644 ./retrofont.ttf $pkgdir/usr/share/retropong/retrofont.ttf
24 install -D -m644 ./*wav $pkgdir/usr/share/retropong/
25 echo -e "#"'!'"/bin/bash\ncd /usr/share/retropong/\n./retropong" >./retropong.sh
26 install -D -m755 ./retropong.sh $pkgdir/usr/bin/retropong
27 install -D -m644 $srcdir/retropong.desktop $pkgdir/usr/share/applications/retropong.desktop