desktop/fife-git/PKGBUILD
Adrián Chaves Fernández (Gallaecio) 84e8ecd094 unknown-horizons: fixed
The latest stable version of fife is not compatible with the 3.x
branch of swig, the one that we have in our core repository.

I have switched to fife-git, which does support swig 3.x.
2016-06-25 10:02:42 +02:00

32 lines
866 B
Bash

# Forked from https://aur.archlinux.org/cgit/aur.git/plain/PKGBUILD?h=fife-git
pkgname=fife-git
pkgrel=1
pkgdesc="Flexible Isometric Free Engine is a cross platform game creation framework"
arch=('x86_64')
url="http://fifengine.net/"
license=('GPL')
depends=('boost-libs' 'fifechan-git' 'libgl' 'libogg' 'libpng' 'libvorbis' 'tinyxml'
'openal' 'python2' 'sdl2' 'sdl2_image' 'sdl2_ttf' 'tinyxml')
makedepends=('git' 'scons' 'boost' 'swig' 'zlib')
conflicts=('fife' 'fife-svn')
source=(git+https://github.com/fifengine/fifengine.git)
md5sums=('SKIP')
pkgver() {
cd "$srcdir/fifengine"
git describe --long --tags | sed -r 's/([^-]*-g)/r\1/;s/-/./g'
}
build() {
cd "$srcdir/fifengine"
scons
}
package() {
cd "$srcdir/fifengine"
scons install-python \
--prefix="$pkgdir/usr" \
--python-prefix="$pkgdir/usr/lib/python2.7/site-packages/"
}