summaryrefslogtreecommitdiff
path: root/libre
diff options
context:
space:
mode:
authorAndré Fabian Silva Delgado <emulatorman@parabola.nu>2016-03-15 18:09:21 -0300
committerAndré Fabian Silva Delgado <emulatorman@parabola.nu>2016-03-15 18:09:21 -0300
commita5c6ecf62c0b49f8f0ae012551f7f4729d1fb91d (patch)
tree376eb6d64c882b9cc5819bb665269ceb34a2f691 /libre
parent3a8fca35f7c059ee187038cba7a932980a92c644 (diff)
downloadabslibre-a5c6ecf62c0b49f8f0ae012551f7f4729d1fb91d.tar.gz
abslibre-a5c6ecf62c0b49f8f0ae012551f7f4729d1fb91d.tar.bz2
abslibre-a5c6ecf62c0b49f8f0ae012551f7f4729d1fb91d.zip
librsvg-stable: add new package to [libre]
Diffstat (limited to 'libre')
-rw-r--r--libre/librsvg-stable/PKGBUILD31
-rw-r--r--libre/librsvg-stable/librsvg.install11
2 files changed, 42 insertions, 0 deletions
diff --git a/libre/librsvg-stable/PKGBUILD b/libre/librsvg-stable/PKGBUILD
new file mode 100644
index 000000000..029af38dc
--- /dev/null
+++ b/libre/librsvg-stable/PKGBUILD
@@ -0,0 +1,31 @@
+# $Id: PKGBUILD 258835 2016-02-03 13:30:55Z jgc $
+# Maintainer: Jan de Groot <jgc@archlinux.org>
+
+_pkgname=librsvg
+pkgname=librsvg-stable
+pkgver=2.40.10
+pkgrel=1
+epoch=2
+pkgdesc="A SVG viewing library (stable version)"
+arch=(i686 x86_64)
+license=('LGPL')
+depends=('gdk-pixbuf2' 'pango' 'libcroco')
+makedepends=('intltool' 'gobject-introspection' 'vala' 'python2')
+conflicts=($_pkgname)
+provides=($_pkgname)
+options=('!emptydirs')
+url="https://live.gnome.org/LibRsvg"
+install=librsvg.install
+source=(https://download.gnome.org/sources/$_pkgname/${pkgver:0:4}/$_pkgname-$pkgver.tar.xz)
+sha256sums=('965c807438ce90b204e930ff80c92eba1606a2f6fd5ccfd09335c99896dd3479')
+
+build() {
+ cd $_pkgname-$pkgver
+ ./configure --prefix=/usr --disable-static --enable-vala
+ make
+}
+
+package() {
+ cd $_pkgname-$pkgver
+ make DESTDIR="$pkgdir" install
+}
diff --git a/libre/librsvg-stable/librsvg.install b/libre/librsvg-stable/librsvg.install
new file mode 100644
index 000000000..8852ebf28
--- /dev/null
+++ b/libre/librsvg-stable/librsvg.install
@@ -0,0 +1,11 @@
+post_install() {
+ gdk-pixbuf-query-loaders --update-cache
+}
+
+post_upgrade() {
+ post_install
+}
+
+post_remove() {
+ post_install
+}