# $Id: PKGBUILD 64057 2012-02-08 23:51:21Z allan $ # Maintainer: Sven-Hendrik Haase # Contributor: Juergen Hoetzel # Contributor: William Rea , # Contributor: Bjorn Lindeijer pkgname=cegui pkgver=0.7.6 pkgrel=2 pkgdesc="A free library providing windowing and widgets for graphics APIs/engines" arch=('i686' 'x86_64') url="http://crayzedsgui.sourceforge.net" #options=('!libtool') license=("MIT") depends=('pcre' 'glew' 'expat' 'freetype2' 'libxml2' 'devil' 'freeglut' 'lua' 'silly') makedepends=('python2' 'doxygen') source=(http://downloads.sourceforge.net/crayzedsgui/CEGUI-$pkgver.tar.gz) options=(!libtool) md5sums=('7ddb5145dc94fb7daf9aea1d30a6ffa3') build() { cd $srcdir/CEGUI-${pkgver} sed -i '1i#include ' cegui/include/CEGUIString.h ./configure --prefix=/usr \ --sysconfdir=/etc \ --disable-xerces-c \ --enable-null-renderer make } package() { cd $srcdir/CEGUI-${pkgver} make DESTDIR=${pkgdir} install #build docs cd doc/doxygen && doxygen cd .. && make DESTDIR=${pkgdir} install-html install -Dm644 COPYING ${pkgdir}/usr/share/licenses/$pkgname/LICENSE }