1 # Maintainer: Gadget3000 <gadget3000 at msn dot com>
2 # Contributor: Patrik Ilg <p.ilg@arcor.de>
6 pkgdesc="3D stunt racing game which features realistic car physics and an in game track editor"
9 url="http://tileracer.model-view.com"
11 if [ "$CARCH" = "x86_64" ]; then
12 depends=('lib32-libgl' 'lib32-mesa')
14 depends=('libgl' 'mesa')
16 conflicts=('physx' 'lib32-physx')
17 source=(http://tileracer.model-view.com/mirrordownload.php?file=TileRacer${pkgver}.tar.gz TileRacer.desktop)
18 md5sums=('c9d1d9fcc835aaf07933b7608f03d542'
19 'b81904a3a0a59df5ce5631a8f2f89fae')
20 noextract=(mirrordownload.php?file=TileRacer${pkgver}.tar.gz)
24 mkdir -p "$pkgdir/usr/share/applications"
25 cp "$srcdir/TileRacer.desktop" "$pkgdir/usr/share/applications/"
26 mkdir -p "$pkgdir/usr/share/${pkgname}"
28 tar xzvf mirrordownload.php?file=TileRacer${pkgver}.tar.gz -C "$pkgdir/usr/share/${pkgname}"
29 chown -Rh root:root $pkgdir/usr/share/${pkgname}
31 install -d $pkgdir/usr/bin
32 echo \#\!/bin/sh > $pkgdir/usr/bin/tileracer
33 echo /usr/share/tileracer/TileRacer.sh >> $pkgdir/usr/bin/tileracer
34 chmod +x $pkgdir/usr/bin/tileracer