1 # contributor: Dominika Solarz <dominikasolarz@gmail.com>
6 pkgdesc="An entertaining 2d space shooter."
7 url="http://offender.sourceforge.net"
13 conflicts=('offender')
17 _cvsroot=":pserver:anonymous@offender.cvs.sourceforge.net:/cvsroot/offender"
22 #Grab the sources with cvs
24 msg "Connecting to $_cvsmod.sourceforge.net CVS server...."
25 if [ -d $_cvsmod/CVS ]; then
27 cvs -z3 update -d || return 1
29 cvs -z3 -d $_cvsroot co -D $pkgver -f $_cvsmod || return 1
32 msg "CVS checkout done or server timeout"
33 msg "Starting make..."
34 rm -r $srcdir/$_cvsmod-build
35 cp -r $srcdir/$_cvsmod $srcdir/$_cvsmod-build
36 cd $srcdir/$_cvsmod-build
38 #Build and install the package
40 ./bootstrap || return 1
41 ./configure --prefix=$pkgdir/usr --exec-prefix=$pkgdir/usr || return 1
43 make install || return 1
47 # vim:set ts=2 sw=2 et: