diff options
Diffstat (limited to 'community/cegui/PKGBUILD')
-rw-r--r-- | community/cegui/PKGBUILD | 53 |
1 files changed, 24 insertions, 29 deletions
diff --git a/community/cegui/PKGBUILD b/community/cegui/PKGBUILD index 60cffc542..843a5867d 100644 --- a/community/cegui/PKGBUILD +++ b/community/cegui/PKGBUILD @@ -1,56 +1,51 @@ -# $Id: PKGBUILD 90790 2013-05-13 22:47:24Z svenstaro $ +# $Id: PKGBUILD 93820 2013-07-10 15:57:17Z 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.9 -pkgrel=3 +pkgname=cegui +pkgver=0.8.2 +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' 'lua51' 'silly') -makedepends=('python2' 'doxygen' 'ogre' 'gtk2' 'boost' 'graphviz' 'irrlicht') +makedepends=('cmake' 'python2' 'doxygen' 'ogre' 'gtk2' 'boost' 'graphviz' 'irrlicht') optdepends=("python2: python bindings" "ogre: ogre module" "gtk2: gtk2 module" "irrlicht: irrlicht module") -options=(!libtool) -source=(http://downloads.sourceforge.net/crayzedsgui/CEGUI-$pkgver.tar.gz) -md5sums=('a8b682daf82e383edc169c2e6eb2b321') +source=(http://downloads.sourceforge.net/crayzedsgui/cegui-$pkgver.tar.gz) +md5sums=('f72951f0cc0374bb2294035cb639bb83') build() { - cd "$srcdir/CEGUI-${pkgver}" + cd "$srcdir/cegui-${pkgver}" - ./bootstrap + sed -i "s/lib64/lib/g" CMakeLists.txt + sed -i "s/lib32/lib/g" CMakeLists.txt - ./configure --prefix=/usr \ - --sysconfdir=/etc \ - --enable-null-renderer \ - --with-gtk2 + [[ -d build ]] && rm -r build + mkdir build && cd build + + cmake .. \ + -DCMAKE_INSTALL_PREFIX=/usr \ + -DCEGUI_LIB_INSTALL_DIR=lib \ + -DPYTHON_EXECUTABLE=/usr/bin/python2 make + make html } -package_cegui() { - cd "$srcdir/CEGUI-${pkgver}" +package() { + cd "$srcdir/cegui-${pkgver}" - make DESTDIR="${pkgdir}" install + cd build - install -Dm644 doc/COPYING "${pkgdir}/usr/share/licenses/$pkgname/LICENSE" -} - -package_cegui-docs() { - pkgdesc="Documentation for cegui" - depends=() + make DESTDIR="${pkgdir}" install - cd "$srcdir/CEGUI-${pkgver}" + cd .. - cd doc/doxygen && doxygen - cd .. && make DESTDIR="${pkgdir}" install-html - install -Dm644 COPYING "${pkgdir}/usr/share/licenses/$pkgname/LICENSE" + install -Dm644 doc/COPYING "${pkgdir}/usr/share/licenses/$pkgname/LICENSE" } |