updated on Thu Jan 12 04:00:44 UTC 2012
[aur-mirror.git] / cegui-ogre / PKGBUILD
blob0056dc559f63506bd0ea39364b0b09f7083646da
1 # Maintainer:
2 # Contributor: Juergen Hoetzel <juergen@archlinux.org> 
3 # Contributor: William Rea <sillywilly@gmail.com>, 
4 # Contributor: Bjorn Lindeijer <bjorn@lindeijer.nl>
5 # Contributor: Jose Riha <jose 1711 gmail com>
7 pkgname=cegui-ogre
8 pkgver=0.7.5
9 pkgrel=3
10 pkgdesc="A free library providing windowing and widgets for graphics APIs/engines - with ogre dependency"
11 arch=(i686 x86_64)
12 url="http://crayzedsgui.sourceforge.net"
13 #options=('!libtool')
14 license=("MIT")
15 depends=('pcre' 'glew' 'expat' 'freetype2' 'libxml2' 'devil' 'freeglut' 'lua' 'silly' 'ogre' 'boost')
16 makedepends=('python2')
17 source=(http://downloads.sourceforge.net/crayzedsgui/CEGUI-$pkgver.tar.gz)
18 md5sums=('38c79d1fdfaaa10f481c99a2ac479516')
19 conflicts=('cegui')
20 provides=('cegui')
22 build() {
23   cd $srcdir/CEGUI-${pkgver}
24   sed -i '/#include "CEGUIBase.h"/a \#include <cstddef>' cegui/include/CEGUIString.h
25     
26 # old configure from cegui-0.6.X, to remove later!
27 #  ./configure --prefix=/usr \                                                                                                                
28 #    --sysconfdir=/etc \                                                                                                                      
29 #    --enable-devil \                                                                                                                         
30 #    --enable-silly \                                                                                                                         
31 #    --disable-xerces-c \                                                                                                                     
32 #    --with-default-image-codec=SILLYImageCodec \                                                                                             
33 #    --enable-lua                                                                                                                             
34   ./configure --prefix=/usr \
35     --sysconfdir=/etc \
36     --disable-xerces-c \
37     --enable-null-renderer
39 make
42 package() {
43   cd $srcdir/CEGUI-${pkgver}
45   make DESTDIR=${pkgdir} install
47   install -D -m644 doc/COPYING ${pkgdir}/usr/share/licenses/$pkgname/LICENSE