1 # Contributor: Yaohan Chen <yaohan.chen@gmail.com>
2 # Contributor: Jakob Gruber <jakob.gruber@gmail.com>
3 # Contributor: Christoph Zeiler <rabyte*gmail>
8 pkgdesc='A single player 2D role-playing game inspired by classic console RPGs'
10 url='http://www.allacrost.org/'
12 depends=('libgl' 'mesa' 'qt' 'openal' 'libvorbis' 'sdl_net' 'sdl_ttf' 'luabind')
13 makedepends=('boost' 'subversion')
14 conflicts=('allacrost')
15 options=('!emptydirs')
16 _svntrunk=https://allacrost.svn.sourceforge.net/svnroot/allacrost/trunk/game
22 if [ -d $_svnmod/.svn ]; then
23 (cd $_svnmod && svn up -r $pkgver)
25 svn co $_svntrunk --config-dir ./ -r $pkgver $_svnmod
28 msg "SVN checkout done or server timeout"
29 msg "Starting make..."
31 rm -rf "$srcdir/$_svnmod-build"
32 cp -r "$srcdir/$_svnmod" "$srcdir/$_svnmod-build"
33 cd "$srcdir/$_svnmod-build"
39 ./configure --prefix=/usr
41 sed -i 's|bindir = ${prefix}/games|bindir = ${prefix}/bin|' Makefile
42 sed -i 's|datarootdir = ${prefix}/share/games|datarootdir = ${prefix}/share|' Makefile
47 cd "$srcdir/$_svnmod-build"
48 make DESTDIR="${pkgdir}" install