# Maintainer: Jesus E. pkgname=libcroco pkgver=0.6.13 pkgrel=2 pkgdesc="A CSS parsing library" url='https://gitlab.gnome.org/GNOME/libcroco' arch=(i686 x86_64) depends=(glib2 libxml2) makedepends=(intltool) license=(LGPL-2) source=(https://download.gnome.org/sources/$pkgname/${pkgver:0:3}/$pkgname-$pkgver.tar.xz) sha512sums=('038a3ac9d160a8cf86a8a88c34367e154ef26ede289c93349332b7bc449a5199b51ea3611cebf3a2416ae23b9e45ecf8f9c6b24ea6d16a5519b796d3c7e272d4') build() { cd $pkgname-$pkgver ./configure --prefix=/usr --disable-static make } package() { cd $pkgname-$pkgver make DESTDIR="$pkgdir" install # we don't support gtk-doc rm -rf $pkgdir/usr/share/gtk-doc install -Dm644 COPYING.LIB -t $pkgdir/usr/share/licenses/$pkgname }