diff options
author | Parabola <dev@list.parabolagnulinux.org> | 2011-04-05 14:26:38 +0000 |
---|---|---|
committer | Parabola <dev@list.parabolagnulinux.org> | 2011-04-05 14:26:38 +0000 |
commit | 415856bdd4f48ab4f2732996f0bae58595092bbe (patch) | |
tree | ede2018b591f6dfb477fe9341ba17b9bc000fab9 /extra/librsvg/PKGBUILD |
Tue Apr 5 14:26:38 UTC 2011
Diffstat (limited to 'extra/librsvg/PKGBUILD')
-rw-r--r-- | extra/librsvg/PKGBUILD | 31 |
1 files changed, 31 insertions, 0 deletions
diff --git a/extra/librsvg/PKGBUILD b/extra/librsvg/PKGBUILD new file mode 100644 index 000000000..4b402cd26 --- /dev/null +++ b/extra/librsvg/PKGBUILD @@ -0,0 +1,31 @@ +# $Id: PKGBUILD 111164 2011-02-24 15:09:19Z ibiru $ +# Maintainer: Jan de Groot <jgc@archlinux.org> + +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=('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.32/${pkgname}-${pkgver}.tar.bz2) +sha256sums=('91b98051f352fab8a6257688d6b2fd665b4648ed66144861f2f853ccf876d334') + +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 +} |