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

Allan McRae allan at archlinux.org
Sat Nov 7 01:37:44 UTC 2009


    Date: Friday, November 6, 2009 @ 20:37:43
  Author: allan
Revision: 58328

upgpkg: fox 1.6.36-2
    add xim support (FS#16506), export CPPFLAGS to prevent build issues (FS#15960)

Modified:
  fox/trunk/PKGBUILD

----------+
 PKGBUILD |   15 ++++++++-------
 1 file changed, 8 insertions(+), 7 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2009-11-07 01:25:30 UTC (rev 58327)
+++ PKGBUILD	2009-11-07 01:37:43 UTC (rev 58328)
@@ -1,34 +1,35 @@
 # $Id$
-# Maintainer: damir <damir at archlinux.org>
+# Maintainer: 
 # Contributor: Ben <ben at benmazer.net>
 
 pkgname=fox
 pkgver=1.6.36
-pkgrel=1
+pkgrel=2
 pkgdesc="Free Objects for X: GUI Toolkit for C++"
-arch=("i686" "x86_64")
+arch=('i686' 'x86_64')
 url="http://www.fox-toolkit.org/"
 license=('LGPL' 'custom')
 depends=('bzip2' 'libcups' 'libxcursor' 'libxft' 'libxrandr' 'mesa')
 options=('!libtool')
-source=("http://www.fox-toolkit.org/ftp/${pkgname}-${pkgver}.tar.gz")
+source=(http://www.fox-toolkit.org/ftp/${pkgname}-${pkgver}.tar.gz)
 md5sums=('5fdc89446185fbbf024cec44eb50a239')
 
 build() {
   cd ${srcdir}/${pkgname}-${pkgver}
 
-  CPPFLAGS="$CPPFLAGS -I/usr/include/freetype2"
+  export CPPFLAGS="$CPPFLAGS -I/usr/include/freetype2"
 
   ./configure   --prefix=/usr \
                 --enable-release \
                 --with-xft=yes \
                 --enable-cups \
-                --with-opengl=yes
+                --with-opengl=yes \
+                --with-xim
   make || return 1
   make DESTDIR=${pkgdir} install
 
   cd ${srcdir}/${pkgname}-${pkgver}/tests
   make ControlPanel || return 1
   cp ${srcdir}/${pkgname}-${pkgver}/tests/.libs/ControlPanel ${pkgdir}/usr/bin/
-  install -D -m644 ../LICENSE_ADDENDUM ${pkgdir}/usr/share/licenses/$pkgname/LICENSE_ADDENDUM
+  install -Dm644 ../LICENSE_ADDENDUM ${pkgdir}/usr/share/licenses/$pkgname/LICENSE_ADDENDUM
 }




More information about the arch-commits mailing list