# Contributor: Florian Pritz pkgname=0ad-svn pkgver=7020 pkgrel=1 pkgdesc="real-time 3D strategy game" arch=('i686' 'x86_64') url="" license=('GPL') groups=() depends=('nasm' 'sdl' 'boost' 'libpng' 'libxml2' 'openal' 'libogg' 'libvorbis' 'crypto++' 'spidermonkey' 'wxgtk' 'valgrind' 'enet' 'devil') makedepends=('subversion') provides=() conflicts=() replaces=() backup=() options=() install= source=() noextract=() md5sums=() _svntrunk=http://svn.wildfiregames.com/public/ps/trunk/ _svnmod=trunk build() { cd "$srcdir" if [ -d $_svnmod/.svn ]; then (cd $_svnmod && svn up -r $pkgver) else svn co $_svntrunk --config-dir ./ -r $pkgver $_svnmod fi msg "SVN checkout done or server timeout" msg "Starting make..." rm -rf "$srcdir/$_svnmod-build" cp -r "$srcdir/$_svnmod" "$srcdir/$_svnmod-build" cd "$srcdir/$_svnmod-build" # # BUILD # pushd libraries/fcollada/src make || return 1 popd pushd build/premake/src make || return 1 cp bin/premake .. popd pushd build/workspaces ./update-workspaces.sh cd gcc make || return 1 cd ../../binaries/system ./pyrogenesis_dbg } # vim:set ts=2 sw=2 et: