summaryrefslogtreecommitdiff
path: root/community/cegui/PKGBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'community/cegui/PKGBUILD')
-rw-r--r--community/cegui/PKGBUILD46
1 files changed, 46 insertions, 0 deletions
diff --git a/community/cegui/PKGBUILD b/community/cegui/PKGBUILD
new file mode 100644
index 000000000..9b5c83ac2
--- /dev/null
+++ b/community/cegui/PKGBUILD
@@ -0,0 +1,46 @@
+# $Id: PKGBUILD 37913 2011-01-19 01:10:11Z lcarlier $
+# Maintainer:
+# 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
+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')
+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
+ ./configure --prefix=/usr \
+ --sysconfdir=/etc \
+ --disable-xerces-c \
+ --enable-null-renderer
+
+make
+}
+
+package() {
+ cd $srcdir/CEGUI-${pkgver}
+
+ make DESTDIR=${pkgdir} install
+
+ install -D -m644 doc/COPYING ${pkgdir}/usr/share/licenses/$pkgname/LICENSE
+}
+