summaryrefslogtreecommitdiff
path: root/testing/librsvg
diff options
context:
space:
mode:
Diffstat (limited to 'testing/librsvg')
-rw-r--r--testing/librsvg/PKGBUILD29
-rw-r--r--testing/librsvg/librsvg.install11
2 files changed, 40 insertions, 0 deletions
diff --git a/testing/librsvg/PKGBUILD b/testing/librsvg/PKGBUILD
new file mode 100644
index 000000000..5389ec8a3
--- /dev/null
+++ b/testing/librsvg/PKGBUILD
@@ -0,0 +1,29 @@
+# $Id: PKGBUILD 169175 2012-10-18 19:23:45Z jgc $
+# Maintainer: Jan de Groot <jgc@archlinux.org>
+
+pkgname=librsvg
+pkgver=2.36.4
+pkgrel=1
+pkgdesc="A SVG viewing library"
+arch=(i686 x86_64)
+license=('LGPL')
+depends=('gdk-pixbuf2' 'pango' 'libcroco')
+makedepends=('intltool' 'gtk2' 'gtk3' 'gobject-introspection')
+optdepends=('gtk3: for rsvg-view-3'
+ 'gtk2: gtk2 SVG engine module')
+options=('!libtool' '!emptydirs')
+url="http://librsvg.sourceforge.net/"
+install=librsvg.install
+source=(http://ftp.gnome.org/pub/gnome/sources/$pkgname/${pkgver%.*}/$pkgname-$pkgver.tar.xz)
+sha256sums=('1021935204798f4f0ad3004a09b583668ea94a48593461b147fdcff68a18e6c2')
+
+build() {
+ cd $pkgname-$pkgver
+ ./configure --prefix=/usr --disable-static
+ make
+}
+
+package() {
+ cd $pkgname-$pkgver
+ make DESTDIR="$pkgdir" install
+}
diff --git a/testing/librsvg/librsvg.install b/testing/librsvg/librsvg.install
new file mode 100644
index 000000000..8852ebf28
--- /dev/null
+++ b/testing/librsvg/librsvg.install
@@ -0,0 +1,11 @@
+post_install() {
+ gdk-pixbuf-query-loaders --update-cache
+}
+
+post_upgrade() {
+ post_install
+}
+
+post_remove() {
+ post_install
+}