From f5afe07e0465d6c5d90bb7adeb1f0e88810eb1d5 Mon Sep 17 00:00:00 2001
From: Michael Hanson <hansonorders@verizon.net>
Date: Fri, 12 Nov 2010 22:31:57 +0000
Subject: libcroco: up to latest

---
 abs/core/libcroco/PKGBUILD | 30 +++++++++++++++++-------------
 1 file changed, 17 insertions(+), 13 deletions(-)

diff --git a/abs/core/libcroco/PKGBUILD b/abs/core/libcroco/PKGBUILD
index 549277e..a5f1c1d 100644
--- a/abs/core/libcroco/PKGBUILD
+++ b/abs/core/libcroco/PKGBUILD
@@ -1,21 +1,25 @@
-# $Id: PKGBUILD 356 2008-04-18 22:56:27Z aaron $
-# Maintainer: dorphell <dorphell@archlinux.org>
+# $Id: PKGBUILD 26973 2009-02-15 00:05:10Z jgc $
+# Maintainer: Jan de Groot <jgc@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)
-arch=('i686' 'x86_64')
-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 {} \;
 }
+package() {
+  cd "${srcdir}/${pkgname}-${pkgver}"
+  make DESTDIR="${pkgdir}" install || return 1
+}
+
-- 
cgit v0.12

