diff options
author | root <root@rshg054.dnsready.net> | 2011-11-15 23:14:47 +0000 |
---|---|---|
committer | root <root@rshg054.dnsready.net> | 2011-11-15 23:14:47 +0000 |
commit | 91ef4ffb2e0ba850501329a8bbc0b326788bd58c (patch) | |
tree | 3731bbc0887d98ae3a45395f9826cc51ae3473c3 /testing/librsvg | |
parent | 28b13b7e8e6e1e4fa1593f0dfb1c37569f2f90a8 (diff) |
Tue Nov 15 23:14:47 UTC 2011
Diffstat (limited to 'testing/librsvg')
-rw-r--r-- | testing/librsvg/PKGBUILD | 31 | ||||
-rw-r--r-- | testing/librsvg/librsvg.install | 11 |
2 files changed, 42 insertions, 0 deletions
diff --git a/testing/librsvg/PKGBUILD b/testing/librsvg/PKGBUILD new file mode 100644 index 000000000..e9a4a7357 --- /dev/null +++ b/testing/librsvg/PKGBUILD @@ -0,0 +1,31 @@ +# $Id: PKGBUILD 142753 2011-11-14 19:25:00Z ibiru $ +# Maintainer: Jan de Groot <jgc@archlinux.org> + +pkgname=librsvg +pkgver=2.34.2 +pkgrel=1 +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 +} diff --git a/testing/librsvg/librsvg.install b/testing/librsvg/librsvg.install new file mode 100644 index 000000000..4d48b071f --- /dev/null +++ b/testing/librsvg/librsvg.install @@ -0,0 +1,11 @@ +post_install() { + usr/bin/gdk-pixbuf-query-loaders --update-cache +} + +post_upgrade() { + post_install +} + +post_remove() { + post_install +} |