1 # Maintainer: Marius Dransfeld <marius.dransfeld@googlemail.com>
6 pkgdesc="osgBullet is a set of software tools for applications that use both OpenSceneGraph and Bullet"
8 url="http://code.google.com/p/osgbullet/"
11 depends=('osgworks-svn' 'bullet')
12 makedepends=('subversion' 'cmake')
16 _svntrunk=http://osgbullet.googlecode.com/svn/trunk/
22 if [ -d $_svnmod/.svn ]; then
23 (cd $_svnmod && svn up -r $pkgver)
25 svn co $_svntrunk --config-dir ./ -r $pkgver $_svnmod
28 msg "SVN checkout done or server timeout"
29 msg "Starting make..."
31 rm -rf "$srcdir/$_svnmod-build"
32 cp -r "$srcdir/$_svnmod" "$srcdir/$_svnmod-build"
33 cd "$srcdir/$_svnmod-build"
38 cmake . -DCMAKE_BUILD_TYPE=Release -DCMAKE_INSTALL_PREFIX=/usr
44 cd "$srcdir/$_svnmod-build"
45 make DESTDIR="$pkgdir/" install