1 # Contributor: Simon Lackerbauer <calypso "at" strpg.org>
2 # Maintainer: Stefan Wilkens <stefanwilkens@gmail.com>
7 pkgdesc="A challenging 2D motocross platform game, where physics play an important role in gameplay. Developement version."
9 url="http://xmoto.tuxfamily.org"
11 depends=('bzip2' 'libjpeg' 'libpng' 'lua' 'sdl_mixer' 'ode' 'curl>=7.16.2'
12 'mesa' 'libxdamage' 'libxfixes' 'sqlite3' 'sdl_ttf' 'desktop-file-utils'
13 'subversion' 'sdl_net' 'libxdg-basedir' 'libxml++')
18 _svntrunk=svn://svn.tuxfamily.org/svnroot/xmoto/xmoto/trunk
23 if [ -d $_svnmod/.svn ]; then
28 svn co $_svntrunk --config-dir ./ $_svnmod
31 msg "SVN checkout done or server timeout"
32 msg "starting ./bootstrap"
35 msg "bootstrap ended ... starting ./configure"
36 ./configure --prefix=/usr
37 msg "starting make ..."
39 make DESTDIR=$startdir/pkg mangdir=/usr/man/man6 install
44 # install desktop file
45 install -Dm0644 ${srcdir}/xmoto/extra/xmoto.desktop ${pkgdir}/usr/share/applications/xmoto.desktop
48 install -Dm0644 ${srcdir}/xmoto/extra/xmoto.xpm ${pkgdir}/usr/share/pixmaps/xmoto.xpm