# $Id: PKGBUILD 91754 2013-05-27 08:10:59Z bpiotrowski $ # Maintainer: Lukas Jirkovsky pkgname=gemrb pkgver=0.8.0.1 pkgrel=1 pkgdesc="OSS implementation of Bioware's Infinity Engine which supports eg. Baldur's Gate" arch=('i686' 'x86_64' 'mips64el') 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=('fdb97cc031cf969938952ce2c79b25fc') 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 }