desktop/fife/PKGBUILD
2011-11-22 20:59:38 +00:00

39 lines
1.0 KiB
Bash

#
# Games Packages for Chakra, part of chakra-project.org
#
# Contributor: SpepS <dreamspepser at yahoo dot it>
# Maintainer: Adrián Chaves Fernández (Gallaecio) <adriyetichaves@gmail.com>
pkgname=fife
pkgver=0.3.3r2
pkgrel=1
pkgdesc="Flexible Isometric Free Engine is a cross platform game creation framework"
arch=(i686 x86_64)
url="http://fifengine.net/"
license=('GPL')
depends=('boost-libs' 'guichan' 'libvorbis' 'libxcursor' 'mesa' 'tinyxml'
'openal' 'python2' 'sdl_image' 'sdl_ttf')
makedepends=('scons' 'boost' 'swig' 'zlib')
conflicts=("$pkgname-svn")
source=("http://downloads.sourceforge.net/project/$pkgname/active/src/$pkgname-$pkgver.tar.gz")
md5sums=('ae4e4a58edd4d4bcb3f4fe59269271aa')
build() {
cd "$srcdir/$pkgname-$pkgver"
# strip ldconfig
sed -i "/LD_RUN_PATH/d" build/linux2-config.py
}
package() {
cd "$srcdir/$pkgname-$pkgver"
export PYTHON="python2"
export CXXFLAGS="-DBOOST_FILESYSTEM_VERSION=2"
scons \
--prefix="/usr" \
DESTDIR="$pkgdir/" \
install-all
}