# $Id: PKGBUILD 79310 2010-05-02 17:40:37Z ibiru $ # Maintainer: Jan de Groot pkgname=librsvg pkgver=2.32.1 pkgrel=2 pkgdesc="SAX-based renderer for SVG files into a GdkPixbuf" arch=(i686 x86_64) license=('LGPL') depends=('gdk-pixbuf2' 'pango' 'libcroco') makedepends=('intltool') optdepends=('python: rsvg commandline utility') options=('!libtool') url="http://librsvg.sourceforge.net/" source=(http://ftp.gnome.org/pub/gnome/sources/${pkgname}/2.32/${pkgname}-${pkgver}.tar.bz2) install=librsvg.install sha256sums=('91b98051f352fab8a6257688d6b2fd665b4648ed66144861f2f853ccf876d334') build() { cd "${srcdir}/${pkgname}-${pkgver}" ./configure --prefix=/usr --libexecdir=/usr/lib/${pkgname} \ --with-croco --disable-static \ --with-svgz --disable-gtk-theme || return 1 make || return 1 make DESTDIR="${pkgdir}" install || return 1 }