# Maintainer: Natanael Copa pkgname=librsvg pkgver=2.36.4 pkgrel=0 pkgdesc="SAX-based renderer for SVG files into a GdkPixbuf" url="http://librsvg.sourceforge.net/" arch="all" license="LGPL" subpackages="$pkgname-dev $pkgname-doc" depends= makedepends="gtk+-dev libcroco-dev libgsf-dev bzip2-dev gobject-introspection-dev" install= source="http://ftp.gnome.org/pub/gnome/sources/$pkgname/${pkgver%.*}/$pkgname-$pkgver.tar.xz" depends_dev="glib-dev gtk+-dev cairo-dev libcroco-dev libgsf-dev" _builddir="$srcdir"/$pkgname-$pkgver build() { cd "$_builddir" ./configure --prefix=/usr \ --libexecdir=/usr/lib/$pkgname \ --with-croco \ --disable-static \ --disable-mozilla-plugin \ --with-svgz || return 1 make || return 1 } package() { cd "$_builddir" make DESTDIR=""$pkgdir"" install || return 1 rm -rf "$pkgdir"/usr/lib/mozilla || return 1 find "$pkgdir" -name '*.la' -delete } md5sums="3c94524c8ccf668e30b236f409239f54 librsvg-2.36.4.tar.xz"