updated on Fri Jan 13 04:01:25 UTC 2012
[aur-mirror.git] / fife / PKGBUILD
blob5575447b48ccc7cbb6b5fa1ae8a58a4d55155cab
1 # Maintainer: SpepS <dreamspepser at yahoo dot it>
3 pkgname=fife
4 pkgver=0.3.3r2
5 pkgrel=2
6 pkgdesc="Flexible Isometric Free Engine is a cross platform game creation framework."
7 arch=(i686 x86_64)
8 url="http://fifengine.net/"
9 license=('GPL')
10 depends=('boost-libs' 'guichan' 'libvorbis' 'libxcursor' 'mesa' 'tinyxml'
11          'openal' 'python2' 'sdl_image' 'sdl_ttf')
12 makedepends=('scons' 'boost' 'swig' 'zlib')
13 source=("http://downloads.sourceforge.net/project/$pkgname/active/src/$pkgname-$pkgver.tar.gz")
14 md5sums=('96b34b28b18e56142cbac9cfb89a6693')
16 build() {
17   cd "$srcdir/$pkgname-$pkgver"
19   # strip ldconfig
20   sed -i "/LD_RUN_PATH/d" build/linux2-config.py
23 package() {
24   cd "$srcdir/$pkgname-$pkgver"
26   export PYTHON="python2"
27   export CXXFLAGS="-DBOOST_FILESYSTEM_VERSION=2"
29   scons --prefix="/usr" DESTDIR="$pkgdir/" install-all
32 # vim:set ts=2 sw=2 et: