summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 65d430b3bb42ab8710b6ea6e6de17bcba3a670f0 (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
# Maintainer: carstene1ns <arch carsten-teibes de>
# Contributor: josephgbr <rafael.f.f1@gmail.com>

# based on cegui from Arch Linux repository, original credits go to:
#   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>

pkgname=cegui-0.7
pkgver=0.7.9
pkgrel=3
pkgdesc="A free library providing windowing and widgets for graphics APIs/engines"
arch=('i686' 'x86_64')
url="http://crayzedsgui.sourceforge.net"
license=("MIT")
depends=('pcre' 'glew' 'expat' 'freetype2' 'libxml2' 'devil' 'freeglut' 'lua51'
         'silly' 'mesa' 'glm' 'glfw')
makedepends=('python2' 'doxygen' 'ogre' 'gtk2' 'boost' 'graphviz' 'irrlicht')
optdepends=("python2: python bindings"
            "ogre: ogre module"
            "gtk2: gtk2 module"
            "irrlicht: irrlicht module")
provides=('cegui')
conflicts=('cegui')
options=('!libtool')
source=("http://downloads.sourceforge.net/crayzedsgui/CEGUI-$pkgver.tar.gz")
md5sums=('a8b682daf82e383edc169c2e6eb2b321')
sha256sums=('7c3b264def08b46de749c2acaba363e907479d924612436f3bd09da2e474bb8c')

build() {
  cd "$srcdir/CEGUI-$pkgver"

  ./bootstrap
  ./configure --prefix=/usr --sysconfdir=/etc --enable-null-renderer --with-gtk2

  make
}

package() {
  cd "$srcdir/CEGUI-$pkgver"

  make DESTDIR="$pkgdir" install

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