blob: b9e0a61fa30f3f89b480b842dcd15d26bb4ead18 (
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
47
48
49
50
51
52
53
54
|
# $Id: PKGBUILD 79010 2012-10-29 03:17:07Z svenstaro $
# Maintainer: Sven-Hendrik Haase <sh@lutzhaase.com>
# Contributor: Juergen Hoetzel <juergen@archlinux.org>
# Contributor: William Rea <sillywilly@gmail.com>,
# Contributor: Bjorn Lindeijer <bjorn@lindeijer.nl>
pkgbase=cegui
pkgname=('cegui' 'cegui-docs')
pkgver=0.7.7
pkgrel=3
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' 'expat' 'freetype2' 'libxml2' 'devil' 'freeglut' 'lua' 'silly')
makedepends=('python2' 'doxygen' 'ogre' 'irrlicht' 'gtk2' 'boost' 'graphviz')
optdepends=("python2: python bindings"
"ogre: ogre module"
"irrlicht: irrlicht module")
options=(!libtool)
source=(http://downloads.sourceforge.net/crayzedsgui/CEGUI-$pkgver.tar.gz)
md5sums=('8b83577f86eaa1581765dd155c7c8f24')
build() {
cd $srcdir/CEGUI-${pkgver}
./bootstrap
./configure --prefix=/usr \
--sysconfdir=/etc \
--enable-null-renderer \
--with-gtk2
make
}
package_cegui() {
cd $srcdir/CEGUI-${pkgver}
make DESTDIR=${pkgdir} install
install -Dm644 doc/COPYING ${pkgdir}/usr/share/licenses/$pkgname/LICENSE
}
package_cegui-docs() {
pkgdesc="Documentation for cegui"
depends=()
cd $srcdir/CEGUI-${pkgver}
cd doc/doxygen && doxygen
cd .. && make DESTDIR=${pkgdir} install-html
}
|