From 415856bdd4f48ab4f2732996f0bae58595092bbe Mon Sep 17 00:00:00 2001 From: Parabola Date: Tue, 5 Apr 2011 14:26:38 +0000 Subject: Tue Apr 5 14:26:38 UTC 2011 --- gnome-unstable/librsvg/PKGBUILD | 31 +++++++++++++++++++++++++++++++ 1 file changed, 31 insertions(+) create mode 100644 gnome-unstable/librsvg/PKGBUILD (limited to 'gnome-unstable/librsvg/PKGBUILD') diff --git a/gnome-unstable/librsvg/PKGBUILD b/gnome-unstable/librsvg/PKGBUILD new file mode 100644 index 000000000..3104e7ce4 --- /dev/null +++ b/gnome-unstable/librsvg/PKGBUILD @@ -0,0 +1,31 @@ +# $Id: PKGBUILD 117525 2011-04-04 10:15:22Z ibiru $ +# Maintainer: Jan de Groot + +pkgname=librsvg +pkgver=2.34.0 +pkgrel=1 +pkgdesc="SAX-based renderer for SVG files into a GdkPixbuf" +arch=(i686 x86_64) +license=('LGPL') +depends=('gdk-pixbuf2' 'pango' 'libcroco') +makedepends=('intltool') +optdepends=('python2: rsvg commandline utility') +options=('!libtool' '!emptydirs') +url="http://librsvg.sourceforge.net/" +install=librsvg.install +source=(http://ftp.gnome.org/pub/gnome/sources/${pkgname}/2.34/${pkgname}-${pkgver}.tar.bz2) +sha256sums=('9d2111e086dcffd12466f48ab1ca088654011684c499a4cc4676da918290f3cd') + +build() { + cd "${srcdir}/${pkgname}-${pkgver}" + sed -i 's|#!/usr/bin/env python|#!/usr/bin/env python2|' rsvg.in + ./configure --prefix=/usr --libexecdir=/usr/lib/${pkgname} \ + --with-croco --disable-static \ + --with-svgz --disable-gtk-theme + make +} + +package() { + cd "${srcdir}/${pkgname}-${pkgver}" + make DESTDIR="${pkgdir}" install +} -- cgit v1.2.3-54-g00ecf