1 # Maintainer : Frederic Bezies <fredbezies@gmail.com>
2 # Contributor: Bassam Jabbour <bassam.jabbour at gmail.com>
3 # Maintainer: zoulnix <http://goo.gl/HQaP>
4 # Needed to build spice protocol for qemu.
11 pkgdesc="A free library providing windowing and widgets for graphics APIs/engines."
12 arch=('i686' 'x86_64')
13 url="http://www.cegui.org.uk/"
15 depends=('devil' 'expat' 'freetype2' 'libxml2' 'lua' 'pcre' 'python2' 'silly')
16 makedepends=('gcc' 'make' 'pkg-config')
19 source=("http://downloads.sourceforge.net/crayzedsgui/CEGUI-${_pkgver}.tar.gz"
21 md5sums=('4fbd95e5a2ac1c7acf2a8f5df3ac6b93'
22 '44ff59acba1da5ff483a5b35a2f07775')
24 #md5sums=('4fbd95e5a2ac1c7acf2a8f5df3ac6b93')
27 cd ${srcdir}/CEGUI-${pkgver}
28 cp ../CEGUIString.h include/
30 ./configure --prefix=/usr \
32 --localstatedir=/var \
39 --enable-python-module \
40 --with-default-image-codec=SILLYImageCodec
46 cd ${srcdir}/CEGUI-${pkgver}
47 install -d ${pkgdir}/usr/share/licenses/${pkgname} || return 1
49 make DESTDIR=${pkgdir} install || return 1
51 install -m644 COPYING ${pkgdir}/usr/share/licenses/${pkgname}/ || return 1