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