1 # Contributor: Andrea Scarpino <bash.lnx@gmail.com>
2 # Contributor: Darwin Bautista <djclue917@gmail.com>
4 pkgname=crystalspace-1.4branch-svn
7 pkgdesc="free and portable 3D Game Development Kit written in C++, a specific revision for planeshift-svn"
8 url="http://www.crystalspace3d.org/"
11 depends=('cal3d-svn' 'libjpeg' 'curl' 'libmng' 'libmikmod' 'libvorbis' 'libpng' 'openal' 'freetype2' 'mesa')
12 makedepends=('ftjam' 'subversion')
13 conflicts=('crystalspace')
17 _svntrunk=https://crystal.svn.sourceforge.net/svnroot/crystal/CS/branches/release/V1.4
22 #Grab the sources with svn
24 if [ -d $_svnmod/.svn ]; then
25 (cd $_svnmod && svn up -r $pkgver) || return 1
27 svn co $_svntrunk --config-dir ./ -r $pkgver $_svnmod || return 1
29 msg "SVN checkout done or server timeout"
30 msg "Starting make..."
31 rm -r $srcdir/$_svnmod-build
32 cp -r $srcdir/$_svnmod $srcdir/$_svnmod-build
33 cd $srcdir/$_svnmod-build
35 #Build and install the package
36 ./configure --without-java --without-perl --without-python --without-lib3ds --prefix=/usr --sysconfdir=/etc --enable-separate-debug-info=no --with-cal3d
37 jam -q libs plugins cs-config walktest || return 1
38 jam DESTDIR=$pkgdir install
42 # vim:set ts=2 sw=2 et: