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

Jan de Groot jgc at archlinux.org
Sat Apr 4 19:45:55 UTC 2009


    Date: Saturday, April 4, 2009 @ 15:45:55
  Author: jgc
Revision: 33758

upgpkg: libxml++ 2.26.0-1
    Replace libxml++ with 2.26 version. Remove the libxml++2 package

Modified:
  libxml++/trunk/PKGBUILD

----------+
 PKGBUILD |   26 ++++++++++++++------------
 1 file changed, 14 insertions(+), 12 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2009-04-04 19:43:43 UTC (rev 33757)
+++ PKGBUILD	2009-04-04 19:45:55 UTC (rev 33758)
@@ -1,23 +1,25 @@
 # $Id$
-# Contributor: Ben <contrasutra at myrealbox.com>
 # Maintainer: damir <damir at archlinux.org>
 
 pkgname=libxml++
-pkgver=1.0.5
+pkgver=2.26.0
 pkgrel=1
-pkgdesc="c++ bindings to libxml"
-arch=('i686' 'x86_64')
+pkgdesc="C++ bindings to libxml2"
+arch=(i686 x86_64)
 license=('LGPL')
 url="http://libxmlplusplus.sourceforge.net/"
-depends=('gcc-libs' 'libxml2')
-options=("!libtool")
-source=("http://ftp.gnome.org/pub/GNOME/sources/libxml++/1.0/$pkgname-$pkgver.tar.bz2")
+depends=('libxml2>=2.7.3' 'glibmm>=2.20.0')
+makedepends=('pkgconfig')
+options=('!libtool' '!emptydirs')
+replaces=('libxml++2')
+provides=("libxml++2=${pkgver}")
+conflicts=('libxml++2')
+source=(http://ftp.gnome.org/pub/GNOME/sources/libxml++/2.26/libxml++-${pkgver}.tar.bz2)
+md5sums=('a52fc7e6e44bb5cc187672930b843f72')
 
 build() {
-  cd $startdir/src/$pkgname-$pkgver
-  ./configure --prefix=/usr --with-gnu-ld
+  cd "${srcdir}/libxml++-${pkgver}"
+  ./configure --prefix=/usr || return 1
   make || return 1
-  make prefix=$startdir/pkg/usr install
+  make DESTDIR="${pkgdir}" install || return 1
 }
-
-md5sums=('10c178eb992be70d45450020bf0cc2aa')




More information about the arch-commits mailing list