updated on Tue Jan 10 04:01:21 UTC 2012
[aur-mirror.git] / roadfighter / PKGBUILD
blob3397143ece447584ca582fd216778d45a0b1fe14
1 # Contributor: Arnaud Durand-Favreau <biginoz at free point fr>
2 pkgname=roadfighter
3 pkgver=1.0.1269
4 pkgrel=1
5 pkgdesc="Konami's MSX1 classic roadfighter remake"
6 arch=('i686' 'x86_64')
7 url="http://www2.braingames.getput.com/roadf/"
8 license=("not_found")
9 depends=('sdl' 'sdl_image' 'sdl_mixer' 'sdl_sound' 'sdl_ttf' 'sdl_net' 'curl')
10 source=(http://braingames.jorito.net/roadfighter/downloads/roadfighter.src_1.0.1269.tgz)
11 md5sums=('a1626dda4d17ae30bbdd9c1ede2cd555')
13 build() {
14 cd $startdir/src/$pkgname-$pkgver/
16 make || return 1
17 make PREFIX=$startdir/pkg/usr BINDIR=$startdir/pkg/usr/share/$pkgname GAMEDIR=$startdir/pkg/usr/bin install || return 1
18 rm $startdir/pkg/usr/bin/$pkgname
19 echo "cd /usr/share/$pkgname ; ./roadfighter ; cd -" > $startdir/pkg/usr/bin/$pkgname
20 chmod 755 $startdir/pkg/usr/bin/$pkgname