summaryrefslogtreecommitdiff
path: root/community/cegui/PKGBUILD
blob: 9b5c83ac226b013108cd77d68de33d8124151f20 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
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
}