summaryrefslogtreecommitdiff
path: root/pcr/cegui-0.5/PKGBUILD
blob: 7dacec17e46f0b1207c5523c3eed057a62f312fe (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
# Contributor (Arch): Jakub Luzny <limoto94@gmail.com>
# Maintainer : Parabola GNU / Linux-libre Aurelien Desbrieres <aurelien@cwb.io>

pkgname=cegui-0.5
pkgver=0.5.0b
pkgrel=1
pkgdesc="A free library providing windowing and widgets for graphics APIs/engines"
arch=('i686' 'x86_64' 'mips64el')
url="http://crayzedsgui.sourceforge.net"
#options=('!libtool')
license=("MIT")
depends=('pcre' 'glew' 'freetype2' 'libxml2' 'devil' 'freeglut' 'silly')
conflicts=('cegui')
source=(http://downloads.sourceforge.net/crayzedsgui/CEGUI-$pkgver.tar.gz
        CEGUIString.h)
md5sums=('b42322a33c6a06eede76b15f75694a17'
         'b0859a1316bb25ca4860a5d0052e9a04')


build() {
  cd $srcdir/CEGUI-0.5.0

  cp $srcdir/CEGUIString.h include/
  sed -i 's/ILvoid/void/' ImageCodecModules/DevILImageCodec/CEGUIDevILImageCodec.cpp

  ./configure  --prefix=/usr --enable-release --enable-shared --disable-expat --disable-tga --disable-samples --disable-xerces-c

  make
}

package() {
  cd $srcdir/CEGUI-0.5.0
 
  make DESTDIR=${pkgdir} install

  install -Dm644 COPYING ${pkgdir}/usr/share/licenses/$pkgname/LICENSE
}

#category: lib
md5sums=('b42322a33c6a06eede76b15f75694a17'
         'b0859a1316bb25ca4860a5d0052e9a04')