1 # Maintainer: jose <jose1711 [at] gmail (dot) com>
6 pkgdesc="2D car racing game"
8 url="http://hippo.nipax.cz/download.cz.php?id=64"
10 depends=('allegro4' 'libjpeg')
11 source=("http://hippo.nipax.cz/src/${pkgname}-${pkgver}.tar.gz")
12 md5sums=('7f2c8982e3960d0282117b57ac749de1')
13 install=('racer.install')
16 cd $srcdir/${pkgname}-${pkgver}/src
21 cd $srcdir/${pkgname}-${pkgver}/src
22 mkdir -p $pkgdir/usr/share/racer/{data,gfx,maps} $pkgdir/usr/bin
23 install -D -m755 racer $pkgdir/usr/share/racer/racer
25 ln -s /usr/share/racer/racer ./racer
26 install -D -m644 data/* $pkgdir/usr/share/racer/data
27 install -D -m644 gfx/* $pkgdir/usr/share/racer/gfx
28 install -D -m644 maps/* $pkgdir/usr/share/racer/maps
30 install -D -m644 racer.6.gz $pkgdir/usr/share/man/man6/racer.6.gz
31 install -D -m644 racer.xpm $pkgdir/usr/share/pixmaps/racer.xpm
32 install -D -m644 racer.desktop $pkgdir/usr/share/applications/racer.desktop
36 ./racer \"\$@\"") > $pkgdir/usr/bin/racer
37 chmod 755 $pkgdir/usr/bin/racer