updated on Thu Jan 26 16:09:46 UTC 2012
[aur-mirror.git] / fife-svn / PKGBUILD
blob170f630ebed4ba88e5a50c56c51ffd169c2477ff
1 # Contributor: Thomas Kinnen <thomas.kinnen@gmail.com>
2 pkgname=fife-svn
3 provides="fife"
4 conflicts="fife"
5 pkgdesc="The mission of the FIFE project is to create a cross platform game creation framework"
6 url="http://www.fifengine.de/"
7 pkgver=3809
8 pkgrel=1
9 arch=('i686' 'x86_64')
10 license=('LGPL')
11 depends=('sdl' 'boost' 'sdl_ttf' 'sdl_image' 'libvorbis' 'libogg' 'openal' 'guichan' 'swig' 'python2' 'zlib' 'libgl' 'libpng')
12 makedepends=('scons' 'subversion')
13 _svntrunk="http://fife.svn.cvsdude.com/engine/trunk"
14 _svnmod="fife"
15 source=()
16 md5sums=()
18 build() {
19         cd $srcdir
20         if [ -d ./$_svnmod ]; then
21                 cd fife
22                 svn up
23         else
24                 svn co $_svntrunk $_svnmod
25         fi
27         cd $srcdir/$_svnmod
28         scons || return 1
29         scons install-all --prefix $pkgdir/usr --python-prefix $pkgdir/usr/lib/python2.7/site-packages/ || return 1