From 2d8c4c44185a682290ccde4d23132ae3acf01678 Mon Sep 17 00:00:00 2001 From: root Date: Thu, 2 Jun 2011 22:47:10 +0000 Subject: Thu Jun 2 22:47:10 UTC 2011 --- community/cegui/PKGBUILD | 29 +++++++++++++---------------- 1 file changed, 13 insertions(+), 16 deletions(-) (limited to 'community/cegui') diff --git a/community/cegui/PKGBUILD b/community/cegui/PKGBUILD index 9b5c83ac2..c84ee1806 100644 --- a/community/cegui/PKGBUILD +++ b/community/cegui/PKGBUILD @@ -1,39 +1,32 @@ -# $Id: PKGBUILD 37913 2011-01-19 01:10:11Z lcarlier $ -# Maintainer: +# $Id: PKGBUILD 48542 2011-06-01 17:05:37Z stephane $ +# Maintainer: Sven-Hendrik Haase # Contributor: Juergen Hoetzel # Contributor: William Rea , # Contributor: Bjorn Lindeijer pkgname=cegui pkgver=0.7.5 -pkgrel=1 +pkgrel=4 pkgdesc="A free library providing windowing and widgets for graphics APIs/engines" -arch=(i686 x86_64) +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') +makedepends=('python2' 'doxygen') source=(http://downloads.sourceforge.net/crayzedsgui/CEGUI-$pkgver.tar.gz) md5sums=('38c79d1fdfaaa10f481c99a2ac479516') build() { cd $srcdir/CEGUI-${pkgver} - -# old configure from cegui-0.6.X, to remove later! -# ./configure --prefix=/usr \ -# --sysconfdir=/etc \ -# --enable-devil \ -# --enable-silly \ -# --disable-xerces-c \ -# --with-default-image-codec=SILLYImageCodec \ -# --enable-lua + + sed -i '1i#include ' cegui/include/CEGUIString.h ./configure --prefix=/usr \ --sysconfdir=/etc \ --disable-xerces-c \ --enable-null-renderer -make + make } package() { @@ -41,6 +34,10 @@ package() { make DESTDIR=${pkgdir} install - install -D -m644 doc/COPYING ${pkgdir}/usr/share/licenses/$pkgname/LICENSE + #build docs + cd doc/doxygen && doxygen + cd .. && make DESTDIR=${pkgdir} install-html + + install -Dm644 COPYING ${pkgdir}/usr/share/licenses/$pkgname/LICENSE } -- cgit v1.2.3-54-g00ecf