mirror of
https://gitdl.cn/https://github.com/chakralinux/desktop.git
synced 2025-02-13 23:39:06 +08:00
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.
32 lines
866 B
Bash
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/"
|
|
}
|