summaryrefslogtreecommitdiff
path: root/community/gemrb/PKGBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'community/gemrb/PKGBUILD')
-rw-r--r--community/gemrb/PKGBUILD34
1 files changed, 34 insertions, 0 deletions
diff --git a/community/gemrb/PKGBUILD b/community/gemrb/PKGBUILD
new file mode 100644
index 000000000..4a2ea9180
--- /dev/null
+++ b/community/gemrb/PKGBUILD
@@ -0,0 +1,34 @@
+# $Id: PKGBUILD 82325 2013-01-15 11:15:34Z stativ $
+# Maintainer: Lukas Jirkovsky <l.jirkovsky@gmail.com>
+pkgname=gemrb
+pkgver=0.7.2
+pkgrel=2
+pkgdesc="OSS implementation of Bioware's Infinity Engine which supports eg. Baldur's Gate"
+arch=('i686' 'x86_64')
+url="http://www.gemrb.org/"
+license=('GPL')
+depends=('python2' 'openal' 'libpng' 'sdl_mixer')
+# optionally it is possible to build vlc plugin too
+makedepends=('cmake')
+install=gemrb.install
+options=('!libtool')
+source=("http://downloads.sourceforge.net/sourceforge/gemrb/$pkgname-$pkgver.tar.gz")
+md5sums=('4260fcd42f42ce9232668b202b320b29')
+
+build() {
+ cd "$srcdir/$pkgname-$pkgver"
+
+ if [ ! -d "$srcdir/build" ] ; then
+ mkdir "$srcdir/build"
+ fi
+ cd "$srcdir/build"
+
+ cmake -DCMAKE_INSTALL_PREFIX=/usr ../$pkgname-$pkgver
+ make
+}
+
+package() {
+ cd "$srcdir"/build
+ make DESTDIR="$pkgdir" install
+}
+