diff options
Diffstat (limited to 'gnome-unstable/librsvg')
-rw-r--r-- | gnome-unstable/librsvg/PKGBUILD | 29 | ||||
-rw-r--r-- | gnome-unstable/librsvg/librsvg.install | 11 |
2 files changed, 40 insertions, 0 deletions
diff --git a/gnome-unstable/librsvg/PKGBUILD b/gnome-unstable/librsvg/PKGBUILD new file mode 100644 index 000000000..8acf2ed45 --- /dev/null +++ b/gnome-unstable/librsvg/PKGBUILD @@ -0,0 +1,29 @@ +# $Id: PKGBUILD 168932 2012-10-16 15:37:33Z 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/gnome-unstable/librsvg/librsvg.install b/gnome-unstable/librsvg/librsvg.install new file mode 100644 index 000000000..8852ebf28 --- /dev/null +++ b/gnome-unstable/librsvg/librsvg.install @@ -0,0 +1,11 @@ +post_install() { + gdk-pixbuf-query-loaders --update-cache +} + +post_upgrade() { + post_install +} + +post_remove() { + post_install +} |