1 # Maintainer: Iwan Gabovitch <qubodup@gmail.com>
5 pkgdesc="isometric RPG engine written in C++, built in OpenGL and SDL, meant to be used with Python through Swig"
7 url="http://annchienta.sf.net/"
8 depends=('python' 'swig' 'sdl')
9 makedepends=('cmake' 'subversion')
11 provides=('annchienta')
13 _svntrunk=https://annchienta.svn.sourceforge.net/svnroot/annchienta/trunk/Annchienta/annchienta
19 if [ -d $_svnmod/.svn ]; then
20 (cd $_svnmod && svn up -r $pkgver)
22 svn co $_svntrunk --config-dir ./ -r $pkgver
25 msg "SVN checkout done or server timeout"
28 if [ -d CMakeCache.txt ]; then
32 msg "Starting cmake..."
34 cmake . -DCMAKE_INSTALL_PREFIX=/usr || return 1
36 msg "Starting make..."
38 make DESTDIR="$pkgdir/" install