[arch-commits] Commit in librsvg/repos (4 files)

Ionut Biru ibiru at archlinux.org
Mon Jan 30 18:48:28 UTC 2012


    Date: Monday, January 30, 2012 @ 13:48:27
  Author: ibiru
Revision: 148214

db-move: moved librsvg from [staging] to [testing] (i686)

Added:
  librsvg/repos/testing-i686/
  librsvg/repos/testing-i686/PKGBUILD
    (from rev 148047, librsvg/repos/staging-i686/PKGBUILD)
  librsvg/repos/testing-i686/librsvg.install
    (from rev 148047, librsvg/repos/staging-i686/librsvg.install)
Deleted:
  librsvg/repos/staging-i686/

-----------------+
 PKGBUILD        |   31 +++++++++++++++++++++++++++++++
 librsvg.install |   11 +++++++++++
 2 files changed, 42 insertions(+)

Copied: librsvg/repos/testing-i686/PKGBUILD (from rev 148047, librsvg/repos/staging-i686/PKGBUILD)
===================================================================
--- testing-i686/PKGBUILD	                        (rev 0)
+++ testing-i686/PKGBUILD	2012-01-30 18:48:27 UTC (rev 148214)
@@ -0,0 +1,31 @@
+# $Id$
+# Maintainer: Jan de Groot <jgc at archlinux.org>
+
+pkgname=librsvg
+pkgver=2.34.2
+pkgrel=2
+pkgdesc="A SVG viewing library"
+arch=(i686 x86_64)
+license=('LGPL')
+depends=('gdk-pixbuf2' 'pango' 'libcroco')
+makedepends=('intltool' 'gtk2')
+optdepends=('gtk2: for rsvg-view support')
+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')
+
+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
+  make
+}
+
+package() {
+  cd "$srcdir/$pkgname-$pkgver"
+  make DESTDIR="$pkgdir" install
+}

Copied: librsvg/repos/testing-i686/librsvg.install (from rev 148047, librsvg/repos/staging-i686/librsvg.install)
===================================================================
--- testing-i686/librsvg.install	                        (rev 0)
+++ testing-i686/librsvg.install	2012-01-30 18:48:27 UTC (rev 148214)
@@ -0,0 +1,11 @@
+post_install() {
+    usr/bin/gdk-pixbuf-query-loaders --update-cache
+}
+
+post_upgrade() {
+    post_install
+}
+
+post_remove() {
+    post_install
+}




More information about the arch-commits mailing list