2 # Contributor: Ivo Benner <ivo.benner[at]web.de>
6 pkgdesc="cube server lister"
8 url="http://cubelister.sourceforge.net"
12 makedepends=('subversion')
19 source=('justice.patch')
21 md5sums=('d370c710f66b72eec015f9dd12d2a6c5')
23 _svntrunk=http://cubelister.svn.sourceforge.net/svnroot/cubelister/trunk
29 if [ -d $_svnmod/.svn ]; then
30 (cd $_svnmod && svn up -r $pkgver)
32 svn co $_svntrunk --config-dir ./ -r $pkgver $_svnmod
35 msg "SVN checkout done or server timeout"
37 rm -rf "$srcdir/$_svnmod-build"
38 cp -r "$srcdir/$_svnmod" "$srcdir/$_svnmod-build"
39 cd "$srcdir/$_svnmod-build"
41 msg "Applying patches..."
42 patch -p0 < $srcdir/justice.patch || return 1
44 msg "Starting make..."
46 ./configure --prefix=/usr
48 make DESTDIR="$pkgdir/" install