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

Jan de Groot jgc at archlinux.org
Sat Feb 14 19:48:57 UTC 2009


    Date: Saturday, February 14, 2009 @ 14:48:57
  Author: jgc
Revision: 26934

upgpkg: libcroco 0.6.2-1
    Fix maintainer tag, add license, arch, correct dependencies

Modified:
  libcroco/trunk/PKGBUILD

----------+
 PKGBUILD |   23 ++++++++++++-----------
 1 file changed, 12 insertions(+), 11 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2009-02-14 19:43:16 UTC (rev 26933)
+++ PKGBUILD	2009-02-14 19:48:57 UTC (rev 26934)
@@ -1,20 +1,21 @@
 # $Id$
-# Maintainer: dorphell <dorphell at archlinux.org>
+# Maintainer: Jan de Groot <jgc at archlinux.org>
 pkgname=libcroco
-pkgver=0.6.1
+pkgver=0.6.2
 pkgrel=1
 pkgdesc="GNOME CSS2 parsing and manipulation toolkit"
-depends=('glib2>=2.10.1' 'libxml2')
-makedepends=(intltool pkgconfig)
-source=(http://ftp.gnome.org/pub/gnome/sources/$pkgname/0.6/$pkgname-$pkgver.tar.bz2)
+arch=('x86_64' 'i686')
+depends=('glib2>=2.18.4' 'libxml2>=2.7.3')
+makedepends=('intltool' 'pkgconfig')
+license=('LGPL')
+options=('!libtool')
+source=(http://ftp.gnome.org/pub/gnome/sources/${pkgname}/0.6/${pkgname}-${pkgver}.tar.bz2)
 url="http://www.gnome.org"
-md5sums=(b0975bd01eb11964f1b3f254f267a43d)
+md5sums=('1429c597aa4b75fc610ab3a542c99209')
 
 build() {
-  cd $startdir/src/$pkgname-$pkgver
-  ./configure --prefix=/usr
+  cd "${srcdir}/${pkgname}-${pkgver}"
+  ./configure --prefix=/usr --disable-static || return 1
   make || return 1
-  make DESTDIR=$startdir/pkg install
-  rm -rf $startdir/pkg/usr/share/gtk-doc
-  find $startdir/pkg -name '*.la' -exec rm {} \;
+  make DESTDIR="${pkgdir}" install || return 1
 }




More information about the arch-commits mailing list