updated on Thu Jan 26 16:09:46 UTC 2012
[aur-mirror.git] / quake2world-client-svn / PKGBUILD
blob11c91eb347bca830e6239da1145b451106d1bb05
1 # Contributor: Marcel Wysocki <maci@satgnu.net>
2 # Maintainer: Marcel Wysocki <maci@satgnu.net>
4 pkgname=quake2world-client-svn
5 pkgver=34
6 pkgrel=1
7 pkgdesc="A free, stand-alone, multiplayer-only iteration of Quake2"
8 arch=('i686' 'x86_64')
9 url="http://jdolan.dyndns.org/trac/wiki/Quake2World"
10 license=('GPL')
11 source=()
12 md5sums=()
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
21 build() {
22   cd $startdir/src
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..."
33   cd $_svnmod-build
34   autoreconf -i
35   ./configure --prefix=/usr --without-mysql --with-tools=''
36   make || return 1
37   make DESTDIR=$startdir/pkg install
38   rm -rf ../$_svnmod-build