[arch-commits] Commit in librsvg/trunk (PKGBUILD)

Jan Steffens heftig at archlinux.org
Thu Mar 8 20:16:27 EST 2012


    Date: Thursday, March 8, 2012 @ 20:16:26
  Author: heftig
Revision: 152711

2.35.2

Modified:
  librsvg/trunk/PKGBUILD

----------+
 PKGBUILD |   21 +++++++++------------
 1 file changed, 9 insertions(+), 12 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2012-03-09 01:03:31 UTC (rev 152710)
+++ PKGBUILD	2012-03-09 01:16:26 UTC (rev 152711)
@@ -2,30 +2,27 @@
 # Maintainer: Jan de Groot <jgc at archlinux.org>
 
 pkgname=librsvg
-pkgver=2.34.2
-pkgrel=3
+pkgver=2.35.2
+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')
+makedepends=('intltool' 'gtk2' 'gtk3')
+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=('84bf2a293d374711654c4472d7e1ca9e152f6b0f0def050c09b77d9d8dd2354c')
 
 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
 }



More information about the arch-commits mailing list