1 # Maintainer: Sven-Hendrik Haase <sh@lutzhaase.com>
2 # Contributor: Lukas Kropatschek <lukas.krop@gmail.com>
7 pkgdesc="Horde3D Next-Generation Graphics Engine"
9 url="http://www.horde3d.org"
17 _svntrunk=http://horde3d.svn.sourceforge.net/svnroot/horde3d/trunk
23 if [ -d $_svnmod/.svn ]; then
24 (cd $_svnmod && svn up -r $pkgver)
26 svn co $_svntrunk --config-dir ./ -r $pkgver $_svnmod
29 msg "SVN checkout done or server timeout"
30 msg "Starting make..."
32 svn export $_svnmod $_svnmod-build
35 cmake . -DCMAKE_INSTALL_PREFIX=/usr || return 1
37 make DESTDIR=${pkgdir} install || return 1
39 mkdir -p ${pkgdir}/opt/Horde3D/Samples
40 cp -r Horde3D/Binaries/* ${pkgdir}/opt/Horde3D/Samples/
41 chmod -R 755 ${pkgdir}/opt/Horde3D/Samples/Linux/*