1 # Contributor: TheSilent <ilsilente@gmail.com>
6 pkgdesc="D2X is a port of Descent 2 to OpenGL. It is an open source project and has received a lot of enhancements compared to Descent 2."
7 url="http://www.descent2.de"
9 depends=('openmotif' 'sdl' 'sdl_image' 'sdl_mixer' 'sdl_net' 'mesa' 'directfb')
10 makedepends=('subversion')
16 _svntrunk=https://d2x-xl.svn.sourceforge.net/svnroot/d2x-xl/trunk
23 if [ -d $_svnmod/.svn ]; then
24 (cd $_svnmod && svn up -r $pkgver)
26 svn co $_svntrunk --config-dir ./ -r $pkgver $_svnmod
29 msg "SVN checkout done or server timeout"
30 msg "Starting make..."
34 sh ./autogen.sh --prefix=/usr --sysconfdir=/etc
35 chmod 0755 ./configure
36 ./configure --prefix=/usr --enable-release=yes --enable-debug=no
40 make DESTDIR=$startdir/pkg/ install
42 rm -rf $startdir/src/$_svnmod-build