1 # Contributor: zoulnix <http://goo.gl/HQaP>
5 pkgdesc="Game engine appropriate for a wide variety of modeling & simulation."
7 url="http://delta3d.org/"
9 depends=('cal3d' 'cegui-0.7' 'fltk' 'freealut' 'gdal' 'gnelib-svn' 'ode' \
10 'opendis-cpp' 'openscenegraph' 'plib' 'xerces-c')
11 makedepends=('cmake' 'gcc' 'make' 'pkg-config' 'subversion')
19 _svntrunk="https://delta3d.svn.sourceforge.net/svnroot/delta3d/trunk/delta3d"
25 msg "Getting sources..."
26 if [ -d ${_svnmod}/.svn ]; then
27 cd ${_svnmod} && svn up -r ${pkgver}
29 svn co ${_svntrunk} --config-dir ./ -r ${pkgver} ${_svnmod}
33 msg "SVN checkout done or server timeout"
34 msg "Starting make..."
37 cmake . -DCMAKE_INSTALL_PREFIX=/usr \
38 -DGNE_LIBRARY=/usr/lib \
42 -DBUILD_WITH_QT=0 || return 1
48 cd ${srcdir}/${_svnmod}
50 make DESTDIR=${pkgdir} install || return 1