summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorChris Oelmueller2015-08-14 09:58:28 +0200
committerChris Oelmueller2015-08-14 09:58:28 +0200
commitb8a1fdde5bdff6b9ec9be1254c16679feda53e4a (patch)
treebcd5ff0da005d3534b54637a02b4abb0081fb746
downloadaur-b8a1fdde5bdff6b9ec9be1254c16679feda53e4a.tar.gz
Resurrect fife
-rw-r--r--.SRCINFO32
-rw-r--r--PKGBUILD46
2 files changed, 78 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO
new file mode 100644
index 00000000000..75b6cbd2e60
--- /dev/null
+++ b/.SRCINFO
@@ -0,0 +1,32 @@
+pkgbase = fife
+ pkgdesc = Flexible Isometric Free Engine is a cross platform game creation framework
+ pkgver = 0.3.5
+ pkgrel = 3
+ url = http://fifengine.net/
+ arch = i686
+ arch = x86_64
+ license = GPL
+ makedepends = scons
+ makedepends = boost
+ makedepends = mesa
+ makedepends = swig
+ makedepends = zlib
+ depends = boost-libs
+ depends = guichan
+ depends = libgl
+ depends = libvorbis
+ depends = libxcursor
+ depends = tinyxml
+ depends = openal
+ depends = python2
+ depends = sdl_image
+ depends = sdl_ttf
+ source = http://downloads.sourceforge.net/project/fife/active/src/fife_0.3.5.tar.gz
+ source = 0001-Use-proper-bools-necessary-to-work-with-fifechan-HEA.patch::https://github.com/fifengine/fifengine/commit/b87d8f9ff9e3ce1a3b6de513a71f8fe52e0fded2.patch
+ md5sums = 11ba50b34239535a270d442466632ef7
+ md5sums = 58496b4205c1574c586fc0fce8736bad
+ sha256sums = 1d3c7a19d05ae426af6ccd50a8ba79a71eb6e6f18f0226d1abdaeae7fcf9d3a8
+ sha256sums = c7b7cd96a0115ba196b5c38268bb49ec48b40d90f5f5dd3378b3ef9f3d8f40a6
+
+pkgname = fife
+
diff --git a/PKGBUILD b/PKGBUILD
new file mode 100644
index 00000000000..8057210784c
--- /dev/null
+++ b/PKGBUILD
@@ -0,0 +1,46 @@
+# Maintainer: Chris Oelmueller <chris.oelmueller@gmail.com>
+# Contributor: apaugh
+# Contributor: speps <speps at aur dot archlinux dot org>
+
+pkgname=fife
+pkgver=0.3.5
+pkgrel=3
+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' 'libgl' 'libvorbis' 'libxcursor' 'tinyxml'
+ 'openal' 'python2' 'sdl_image' 'sdl_ttf')
+makedepends=('scons' 'boost' 'mesa' 'swig' 'zlib')
+source=("http://downloads.sourceforge.net/project/$pkgname/active/src/${pkgname}_$pkgver.tar.gz" "0001-Use-proper-bools-necessary-to-work-with-fifechan-HEA.patch::https://github.com/fifengine/fifengine/commit/b87d8f9ff9e3ce1a3b6de513a71f8fe52e0fded2.patch")
+md5sums=('11ba50b34239535a270d442466632ef7'
+ '58496b4205c1574c586fc0fce8736bad')
+sha256sums=('1d3c7a19d05ae426af6ccd50a8ba79a71eb6e6f18f0226d1abdaeae7fcf9d3a8'
+ 'c7b7cd96a0115ba196b5c38268bb49ec48b40d90f5f5dd3378b3ef9f3d8f40a6')
+
+prepare() {
+ cd ${pkgname}_$pkgver
+
+ # use python2
+ export PYTHON=python2
+
+ # strip ldconfig
+ sed -i "/LD_RUN_PATH/d" build/linux2-config.py
+}
+
+build() {
+ cd ${pkgname}_$pkgver
+ scons --prefix=/usr -j4 fife
+}
+
+prepare() {
+ cd ${pkgname}_$pkgver
+ patch -p1 < "$srcdir/0001-Use-proper-bools-necessary-to-work-with-fifechan-HEA.patch"
+}
+
+package() {
+ cd ${pkgname}_$pkgver
+ scons --prefix=/usr DESTDIR="$pkgdir/" install-all
+}
+
+# vim:set ts=2 sw=2 et: