4 pkgdesc="A german MMORPG based on the Manasource plattform"
6 url="http://invertika.org/"
8 makedepends=('subversion' 'cmake')
9 depends=('guichan' 'curl' 'physfs' 'libpng' 'libpthread-stubs' 'sdl_image' 'sdl_mixer' 'sdl_net' 'sdl_ttf' 'sdl_gfx' 'libxml2' 'zlib' 'libtool' 'enet-old' 'gettext')
10 provides=('invertika')
12 _svntrunk="http://invertika.googlecode.com/svn/tags/1879-semistable-client-server/client"
13 _svnmod=invertika-client
18 if [ -d $_svnmod/.svn ]; then
19 (cd $_svnmod && svn up -r $pkgver)
21 svn co "$_svntrunk" --config-dir ./ -r $pkgver $_svnmod
24 msg "SVN checkout done or server timeout"
25 msg "Starting make..."
27 rm -rf "$srcdir/$_svnmod-build"
28 cp -r "$srcdir/$_svnmod" "$srcdir/$_svnmod-build"
29 cd "$srcdir/$_svnmod-build"
34 cmake -G "Unix Makefiles" -DCMAKE_INSTALL_PREFIX="/usr"
36 make DESTDIR="$pkgdir/" install