# $Id: PKGBUILD 26973 2009-02-15 00:05:10Z jgc $ # Maintainer: Jan de Groot <jgc@archlinux.org> pkgname=libcroco pkgver=0.6.2 pkgrel=2 pkgdesc="GNOME CSS2 parsing and manipulation toolkit" 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=('1429c597aa4b75fc610ab3a542c99209') build() { cd "${srcdir}/${pkgname}-${pkgver}" ./configure --prefix=/usr --disable-static || return 1 make || return 1 } package() { cd "${srcdir}/${pkgname}-${pkgver}" make DESTDIR="${pkgdir}" install || return 1 }