# $Id: PKGBUILD 30366 2009-03-18 22:40:31Z jgc $ # Maintainer: Jan de Groot pkgname=librsvg pkgver=2.26.0 pkgrel=1 pkgdesc="SAX-based renderer for SVG files into a GdkPixbuf" arch=(arm) license=('LGPL') depends=('gtk2>=2.16.0' 'libcroco>=0.6.1' 'libgsf>=1.14.11') makedepends=('intltool' 'pkgconfig') optdepends=('python: rsvg commandline utility') options=('!libtool') url="http://librsvg.sourceforge.net/" source=(http://ftp.gnome.org/pub/gnome/sources/${pkgname}/2.26/${pkgname}-${pkgver}.tar.bz2) install=librsvg.install md5sums=('65dbd726a514fe8b797d26254b8efc1e') build() { cd "${srcdir}/${pkgname}-${pkgver}" ./configure --prefix=/usr --libexecdir=/usr/lib/${pkgname} \ --with-croco --disable-static \ --disable-mozilla-plugin --with-svgz || return 1 make || return 1 make DESTDIR="${pkgdir}" install || return 1 rm -rf "${pkgdir}/usr/lib/mozilla" }