1 # Contributor: Marcel Wysocki <maci@satgnu.net>
2 # Maintainer: Marcel Wysocki <maci@satgnu.net>
4 pkgname=quake2world-server-svn
7 pkgdesc="A free, stand-alone, multiplayer-only iteration of Quake2, dedicated server."
9 url="http://jdolan.dyndns.org/trac/wiki/Quake2World"
14 makedepends=('autoconf>=2.59' 'automake>=1.9.6' 'subversion')
15 provides=('quake2world-server')
16 conflicts=('quake2world-client')
17 install=('quake2world.install')
19 _svntrunk=svn://jdolan.dyndns.org/quake2world/trunk
20 _svnmod=quake2world-svn
25 msg "Updating SVN entries for $_svnmod..."
26 svn co $_svntrunk --config-dir ./ $_svnmod
27 mkdir -p $_svnmod-build
28 cp -r $_svnmod/* $_svnmod-build
30 msg "SVN checkout done or server timed out."
32 msg "Starting make..."
36 ./configure --prefix=/usr --without-mysql --without-curl --with-tools='' --without-client
38 make DESTDIR=$startdir/pkg install
39 mv $startdir/pkg/usr/bin/quake2world $startdir/pkg/usr/bin/quake2world-ded
40 rm -rf ../$_svnmod-build