4 pkgdesc="A 3D space action shooter"
6 url="http://www.orxonox.net/"
8 depends=('ogre' 'cegui-ogre' 'boost' 'lua' 'tcl' 'openal' 'freealut' 'libvorbis' 'zlib')
9 makedepends=('subversion' 'cmake')
14 _svntrunk=http://svn.orxonox.net/game/code/trunk
17 _svndatatrunk=http://svn.orxonox.net/game/data/trunk
18 _svndatamod=data_extern
22 msg "Checking out code repository..."
23 if [ -d ${_svnmod}/.svn ]; then
24 (cd ${_svnmod} && svn up)
26 svn co ${_svntrunk} ${_svnmod}
29 msg "Checking out data repository..."
30 if [ -d ${_svndatamod}/.svn ]; then
31 (cd ${_svndatamod} && svn up)
33 svn co ${_svndatatrunk} ${_svndatamod}
36 msg "Configuring package..."
38 if [ ! -d build ]; then
42 cmake .. -DCMAKE_BUILD_TYPE=Release -DORXONOX_RELEASE=TRUE -DCMAKE_INSTALL_PREFIX=/usr
44 msg "Building package..."
46 make DESTDIR="${pkgdir}" install || return 1