updated on Sat Jan 21 20:03:50 UTC 2012
[aur-mirror.git] / cegui-0.6 / PKGBUILD
blob39461b03af17dde6728d278cb7f2f4fb56d0e907
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.
7 pkgname=cegui-0.6
8 pkgver=0.6.2
9 _pkgver=0.6.2b
10 pkgrel=4
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/"
14 license=('MIT')
15 depends=('devil' 'expat' 'freetype2' 'libxml2' 'lua' 'pcre' 'python2' 'silly')
16 makedepends=('gcc' 'make' 'pkg-config')
17 options=('!libtool')
18 conflicts=('cegui')
19 source=("http://downloads.sourceforge.net/crayzedsgui/CEGUI-${_pkgver}.tar.gz"
20         "CEGUIString.h")
21 md5sums=('4fbd95e5a2ac1c7acf2a8f5df3ac6b93'
22          '44ff59acba1da5ff483a5b35a2f07775')
23         
24 #md5sums=('4fbd95e5a2ac1c7acf2a8f5df3ac6b93')
26 build() {
27   cd ${srcdir}/CEGUI-${pkgver}
28   cp ../CEGUIString.h include/
29   PYTHON=python2 \
30   ./configure --prefix=/usr \
31               --sysconfdir=/etc \
32               --localstatedir=/var \
33               --disable-static \
34               --disable-xerces-c \
35               --disable-samples \
36               --enable-devil \
37               --enable-silly \
38               --enable-lua-module \
39               --enable-python-module \
40               --with-default-image-codec=SILLYImageCodec
42   make || return 1
45 package() {
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