1 # Contributor: Iwan Gabovitch (qubodup) <qubodup@gmail.com>
5 pkgdesc="Bullet Physics wrapper for OGRE"
7 url="http://www.ogre3d.org/addonforums/viewtopic.php?f=12&t=4155"
9 depends=(ogre bullet boost)
10 makedepends=(subversion)
12 _svntrunk="https://ogreaddons.svn.sourceforge.net/svnroot/ogreaddons/trunk/ogrebullet"
13 _svnmod="ogrebullet-svn"
19 msg "Starting Subversion checkout..."
20 if [ -d $_svnmod/.svn ]; then
21 (cd $_svnmod && svn up)
23 svn co $_svntrunk --config-dir ./ $_svnmod
26 msg "Subversion checkout done or server timeout"
27 msg "Starting make..."
29 cd ${srcdir}/${pkgname}/
31 sed -i 's\"ConvexBuilder.h"\"ConvexDecomposition/ConvexBuilder.h"\' Collisions/src/Utils/OgreBulletCollisionsMeshToShapeConverter.cpp
34 ./configure --prefix /usr
35 make LDFLAGS="-lConvexDecomposition" || return 1
36 make DESTDIR=${pkgdir} install || return 1