1 # Contributor: Angelo Theodorou <encelo@users.sourceforge.net>
2 # Contributor: Darwin Bautista <djclue917@gmail.com>
7 pkgdesc="An Online Multiplayer Tactical Warfare Game"
8 url="http://netpanzer.berlios.de/"
11 depends=('physfs' 'sdl_mixer' 'sdl_image')
12 makedepends=('ftjam' 'subversion')
13 provides=('netpanzer')
14 conflicts=('netpanzer')
18 _svntrunk=http://svn.berlios.de/svnroot/repos/netpanzer/trunk/netpanzer/
23 #Grab the sources with svn
25 if [ -d $_svnmod/.svn ]; then
26 (cd $_svnmod && svn up -r $pkgver) || return 1
28 svn co $_svntrunk --config-dir ./ -r $pkgver $_svnmod || return 1
30 msg "SVN checkout done or server timeout"
31 msg "Starting make..."
32 rm -r $srcdir/$_svnmod-build
33 cp -r $srcdir/$_svnmod $srcdir/$_svnmod-build
34 cd $srcdir/$_svnmod-build
36 #Build and install the package
38 ./configure --prefix=/usr --disable-debug
41 jam -sprefix=$pkgdir/usr install || return 1
45 # vim:set ts=2 sw=2 et: