Date: Monday, September 28, 2015 @ 22:17:44 Author: foutrelis Revision: 142139
archrelease: copy trunk to community-staging-i686, community-staging-x86_64 Added: cegui/repos/community-staging-i686/ cegui/repos/community-staging-i686/PKGBUILD (from rev 142138, cegui/trunk/PKGBUILD) cegui/repos/community-staging-x86_64/ cegui/repos/community-staging-x86_64/PKGBUILD (from rev 142138, cegui/trunk/PKGBUILD) -----------------------------------+ community-staging-i686/PKGBUILD | 48 ++++++++++++++++++++++++++++++++++++ community-staging-x86_64/PKGBUILD | 48 ++++++++++++++++++++++++++++++++++++ 2 files changed, 96 insertions(+) Copied: cegui/repos/community-staging-i686/PKGBUILD (from rev 142138, cegui/trunk/PKGBUILD) =================================================================== --- community-staging-i686/PKGBUILD (rev 0) +++ community-staging-i686/PKGBUILD 2015-09-28 20:17:44 UTC (rev 142139) @@ -0,0 +1,48 @@ +# $Id$ +# Maintainer: Sven-Hendrik Haase <s...@lutzhaase.com> +# Contributor: Juergen Hoetzel <juer...@archlinux.org> +# Contributor: William Rea <sillywi...@gmail.com>, +# Contributor: Bjorn Lindeijer <bj...@lindeijer.nl> + +pkgname=cegui +pkgver=0.8.4 +_tag=0-8-4 +pkgrel=9 +pkgdesc="A free library providing windowing and widgets for graphics APIs/engines" +arch=('i686' 'x86_64') +url="http://cegui.org.uk" +license=("MIT") +depends=('pcre' 'glew' 'expat' 'freetype2' 'libxml2' 'devil' 'freeglut' 'lua51' 'silly') +makedepends=('cmake' 'python2' 'doxygen' 'ogre' 'gtk2' 'boost' 'graphviz' 'irrlicht' 'glm' 'mesa' 'tolua++' 'mercurial') +optdepends=("python2: python bindings" + "ogre: ogre module" + "gtk2: gtk2 module" + "irrlicht: irrlicht module") +source=("hg+https://bitbucket.org/cegui/cegui#tag=v${_tag}") +md5sums=('SKIP') + +build() { + cd "$srcdir/cegui" + + sed -i "s/lib64/lib/g" CMakeLists.txt + + [[ -d build ]] && rm -r build + mkdir build && cd build + + cmake .. \ + -DCMAKE_INSTALL_PREFIX=/usr \ + -DCEGUI_LIB_INSTALL_DIR=lib \ + -DCEGUI_BUILD_PYTHON_MODULES=ON \ + -DPYTHON_EXECUTABLE=/usr/bin/python2 + + make + make html +} + +package() { + cd "$srcdir/cegui"/build + + make DESTDIR="${pkgdir}" install + + install -Dm644 ../COPYING "${pkgdir}/usr/share/licenses/$pkgname/LICENSE" +} Copied: cegui/repos/community-staging-x86_64/PKGBUILD (from rev 142138, cegui/trunk/PKGBUILD) =================================================================== --- community-staging-x86_64/PKGBUILD (rev 0) +++ community-staging-x86_64/PKGBUILD 2015-09-28 20:17:44 UTC (rev 142139) @@ -0,0 +1,48 @@ +# $Id$ +# Maintainer: Sven-Hendrik Haase <s...@lutzhaase.com> +# Contributor: Juergen Hoetzel <juer...@archlinux.org> +# Contributor: William Rea <sillywi...@gmail.com>, +# Contributor: Bjorn Lindeijer <bj...@lindeijer.nl> + +pkgname=cegui +pkgver=0.8.4 +_tag=0-8-4 +pkgrel=9 +pkgdesc="A free library providing windowing and widgets for graphics APIs/engines" +arch=('i686' 'x86_64') +url="http://cegui.org.uk" +license=("MIT") +depends=('pcre' 'glew' 'expat' 'freetype2' 'libxml2' 'devil' 'freeglut' 'lua51' 'silly') +makedepends=('cmake' 'python2' 'doxygen' 'ogre' 'gtk2' 'boost' 'graphviz' 'irrlicht' 'glm' 'mesa' 'tolua++' 'mercurial') +optdepends=("python2: python bindings" + "ogre: ogre module" + "gtk2: gtk2 module" + "irrlicht: irrlicht module") +source=("hg+https://bitbucket.org/cegui/cegui#tag=v${_tag}") +md5sums=('SKIP') + +build() { + cd "$srcdir/cegui" + + sed -i "s/lib64/lib/g" CMakeLists.txt + + [[ -d build ]] && rm -r build + mkdir build && cd build + + cmake .. \ + -DCMAKE_INSTALL_PREFIX=/usr \ + -DCEGUI_LIB_INSTALL_DIR=lib \ + -DCEGUI_BUILD_PYTHON_MODULES=ON \ + -DPYTHON_EXECUTABLE=/usr/bin/python2 + + make + make html +} + +package() { + cd "$srcdir/cegui"/build + + make DESTDIR="${pkgdir}" install + + install -Dm644 ../COPYING "${pkgdir}/usr/share/licenses/$pkgname/LICENSE" +}