# Maintainer: Natanael Copa pkgname=libcroco pkgver=0.6.8 pkgrel=0 pkgdesc="GNOME CSS2 parsing and manipulation toolkit" url="http://www.gnome.org" arch="all" license="LGPL" subpackages="$pkgname-dev" depends= makedepends="glib-dev libxml2-dev" source="http://ftp.gnome.org/pub/gnome/sources/$pkgname/0.6/$pkgname-$pkgver.tar.xz" depends_dev="glib-dev libxml2-dev pkgconfig" _builddir="$srcdir/$pkgname-$pkgver" prepare() { cd "$_builddir" update_config_sub || return 1 } build() { cd "$_builddir" ./configure \ --build=$CBUILD \ --host=$CHOST \ --prefix=/usr \ --disable-static \ || return 1 make || return 1 } package() { cd "$_builddir" make DESTDIR="$pkgdir" install || return 1 } md5sums="767e73c4174f75b99695d4530fd9bb80 libcroco-0.6.8.tar.xz"