summaryrefslogtreecommitdiff
path: root/community/cegui/PKGBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'community/cegui/PKGBUILD')
-rw-r--r--community/cegui/PKGBUILD29
1 files changed, 13 insertions, 16 deletions
diff --git a/community/cegui/PKGBUILD b/community/cegui/PKGBUILD
index 3b9c76b53..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 <sh@lutzhaase.com>
# Contributor: Juergen Hoetzel <juergen@archlinux.org>
# Contributor: William Rea <sillywilly@gmail.com>,
# Contributor: Bjorn Lindeijer <bjorn@lindeijer.nl>
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 'mips64el')
+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 <cstddef>' 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
}