1 # Maintainer: Sven Schneider <archlinux.sandmann@googlemail.com>
2 # Contributor: Jason Melton <jason.melton@gmail.com>
7 pkgdesc="Stunt Rally game with track editor, based on VDrift and OGRE"
10 url="http://code.google.com/p/vdrift-ogre"
11 depends=('libvorbis' 'mygui' 'sdl')
12 makedepends=('cmake' 'boost')
13 source=(src.tgz::https://nodeload.github.com/stuntrally/stuntrally/tarball/1.4
14 tracks.tgz::https://nodeload.github.com/stuntrally/tracks/tarball/1.4)
15 md5sums=('5b91e8429ae2101584b64e09c6e87b26'
16 '44507258f4cec4c5b31a1446722e095e')
20 cd "${srcdir}/stuntrally-stuntrally-4692afe/"
23 mkdir build && cd build
25 cmake -DCMAKE_INSTALL_PREFIX="/usr" -DSHARE_INSTALL="share/stuntrally/" ..
30 cd "${srcdir}/stuntrally-tracks-b5a8a2d/"
32 cmake -DCMAKE_INSTALL_PREFIX="/usr" .
38 cd "${srcdir}/stuntrally-stuntrally-4692afe/build/"
40 make DESTDIR="${pkgdir}" install
44 cd "${srcdir}/stuntrally-tracks-b5a8a2d/"
46 make DESTDIR="${pkgdir}/usr/share/stuntrally/" install