summaryrefslogtreecommitdiff
path: root/extra/librsvg/PKGBUILD
diff options
context:
space:
mode:
authorroot <root@rshg054.dnsready.net>2012-04-25 00:01:35 +0000
committerroot <root@rshg054.dnsready.net>2012-04-25 00:01:35 +0000
commit98bf2ac3fdd6f7bcb6ce45c932fc13c07fecc03f (patch)
tree00d9cdbfdc8ef5d7a4a7159a8c6439008509e662 /extra/librsvg/PKGBUILD
parent9988621f899d7d4ae5fd0a4a32a4ba3abc5a527d (diff)
Wed Apr 25 00:01:35 UTC 2012
Diffstat (limited to 'extra/librsvg/PKGBUILD')
-rw-r--r--extra/librsvg/PKGBUILD25
1 files changed, 11 insertions, 14 deletions
diff --git a/extra/librsvg/PKGBUILD b/extra/librsvg/PKGBUILD
index 6cd022366..284f405ed 100644
--- a/extra/librsvg/PKGBUILD
+++ b/extra/librsvg/PKGBUILD
@@ -1,31 +1,28 @@
-# $Id: PKGBUILD 148836 2012-02-05 11:52:19Z ibiru $
+# $Id: PKGBUILD 156916 2012-04-23 09:09:00Z ibiru $
# Maintainer: Jan de Groot <jgc@archlinux.org>
pkgname=librsvg
-pkgver=2.34.2
-pkgrel=3
+pkgver=2.36.1
+pkgrel=1
pkgdesc="A SVG viewing library"
arch=(i686 x86_64)
license=('LGPL')
-depends=('gdk-pixbuf2>=2.24.1-3' 'pango' 'libcroco')
-makedepends=('intltool' 'gtk2')
-optdepends=('gtk2: for rsvg-view support')
+depends=('gdk-pixbuf2' 'pango' 'libcroco')
+makedepends=('intltool' 'gtk2' 'gtk3' 'gobject-introspection')
+optdepends=('gtk3: for rsvg-view-3')
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.xz)
-sha256sums=('5de701325b84c0a15ab6892f49ffd6471722044bfe0b350725bf420642ee4464')
+source=(http://ftp.gnome.org/pub/gnome/sources/$pkgname/${pkgver%.*}/$pkgname-$pkgver.tar.xz)
+sha256sums=('786b95e1a091375c5ef2997a21c69ff24d7077afeff18197355f54d9dcbcd8c5')
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
+ cd $pkgname-$pkgver
+ ./configure --prefix=/usr --disable-static
make
}
package() {
- cd "$srcdir/$pkgname-$pkgver"
+ cd $pkgname-$pkgver
make DESTDIR="$pkgdir" install
}