[arch-commits] Commit in cegui/trunk (PKGBUILD)

Eric Bélanger eric at nymeria.archlinux.org
Sat Jan 26 18:34:42 UTC 2013


    Date: Saturday, January 26, 2013 @ 19:34:41
  Author: eric
Revision: 83034

upgpkg: cegui 0.7.7-5

Rebuild against boost 1.52.0, Add gtk2 optdepends, Add license to cegui-docs

Modified:
  cegui/trunk/PKGBUILD

----------+
 PKGBUILD |   18 ++++++++++--------
 1 file changed, 10 insertions(+), 8 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2013-01-26 18:15:58 UTC (rev 83033)
+++ PKGBUILD	2013-01-26 18:34:41 UTC (rev 83034)
@@ -7,7 +7,7 @@
 pkgbase=cegui
 pkgname=('cegui' 'cegui-docs')
 pkgver=0.7.7
-pkgrel=4
+pkgrel=5
 pkgdesc="A free library providing windowing and widgets for graphics APIs/engines"
 arch=('i686' 'x86_64')
 url="http://crayzedsgui.sourceforge.net"
@@ -16,14 +16,15 @@
 depends=('pcre' 'glew' 'expat' 'freetype2' 'libxml2' 'devil' 'freeglut' 'lua51' 'silly')
 makedepends=('python2' 'doxygen' 'ogre' 'gtk2' 'boost' 'graphviz')
 optdepends=("python2: python bindings"
-            "ogre: ogre module")
+            "ogre: ogre module"
+            "gtk2: gtk2 module")
             #"irrlicht: irrlicht module") maybe again at some point
 options=(!libtool)
 source=(http://downloads.sourceforge.net/crayzedsgui/CEGUI-$pkgver.tar.gz)
 md5sums=('8b83577f86eaa1581765dd155c7c8f24')
 
 build() {
-  cd $srcdir/CEGUI-${pkgver}
+  cd "$srcdir/CEGUI-${pkgver}"
 
   ./bootstrap
 
@@ -36,19 +37,20 @@
 }
 
 package_cegui() {
-  cd $srcdir/CEGUI-${pkgver}
+  cd "$srcdir/CEGUI-${pkgver}"
  
-  make DESTDIR=${pkgdir} install
+  make DESTDIR="${pkgdir}" install
 
-  install -Dm644 doc/COPYING ${pkgdir}/usr/share/licenses/$pkgname/LICENSE
+  install -Dm644 doc/COPYING "${pkgdir}/usr/share/licenses/$pkgname/LICENSE"
 }
 
 package_cegui-docs() {
   pkgdesc="Documentation for cegui"
   depends=()
 
-  cd $srcdir/CEGUI-${pkgver}
+  cd "$srcdir/CEGUI-${pkgver}"
 
   cd doc/doxygen && doxygen
-  cd .. && make DESTDIR=${pkgdir} install-html
+  cd .. && make DESTDIR="${pkgdir}" install-html
+  install -Dm644 COPYING "${pkgdir}/usr/share/licenses/$pkgname/LICENSE"
 }




More information about the arch-commits mailing list