diff options
Diffstat (limited to 'libre/librsvg-stable')
-rw-r--r-- | libre/librsvg-stable/PKGBUILD | 31 | ||||
-rw-r--r-- | libre/librsvg-stable/librsvg.install | 11 |
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 +} |