core/librsvg/PKGBUILD
2010-05-19 10:29:21 +00:00

27 lines
903 B
Bash

# $Id: PKGBUILD 79310 2010-05-02 17:40:37Z ibiru $
# Maintainer: Jan de Groot <jgc@archlinux.org>
pkgname=librsvg
pkgver=2.26.3
pkgrel=1
pkgdesc="SAX-based renderer for SVG files into a GdkPixbuf"
arch=(i686 x86_64)
license=('LGPL')
depends=('gtk2>=2.20.0' 'libcroco>=0.6.2' 'libgsf>=1.14.16')
makedepends=('intltool' 'pkgconfig' 'gtk-doc')
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
sha256sums=('c0005f9471b4bd3ba4873d165d8e481ee6b1d124dda4efc6bdc24b7da024b7e5')
build() {
cd "${srcdir}/${pkgname}-${pkgver}"
./configure --prefix=/usr --libexecdir=/usr/lib/${pkgname} \
--with-croco --disable-static \
--with-svgz || return 1
make || return 1
make DESTDIR="${pkgdir}" install || return 1
}