summaryrefslogtreecommitdiffstats
path: root/abs/core/librsvg
diff options
context:
space:
mode:
Diffstat (limited to 'abs/core/librsvg')
-rw-r--r--abs/core/librsvg/PKGBUILD16
-rw-r--r--abs/core/librsvg/librsvg.install8
2 files changed, 11 insertions, 13 deletions
diff --git a/abs/core/librsvg/PKGBUILD b/abs/core/librsvg/PKGBUILD
index b7f3054..41cbf51 100644
--- a/abs/core/librsvg/PKGBUILD
+++ b/abs/core/librsvg/PKGBUILD
@@ -1,20 +1,20 @@
-# $Id: PKGBUILD 92969 2010-10-02 14:11:23Z ibiru $
+# $Id: PKGBUILD 99478 2010-11-14 19:57:09Z ibiru $
# Maintainer: Jan de Groot <jgc@archlinux.org>
pkgname=librsvg
-pkgver=2.32.0
-pkgrel=3
+pkgver=2.32.1
+pkgrel=1
pkgdesc="SAX-based renderer for SVG files into a GdkPixbuf"
-arch=('i686' 'x86_64')
+arch=(i686 x86_64)
license=('LGPL')
depends=('gtk2>=2.22.0' 'libcroco>=0.6.2')
-makedepends=('intltool' 'pkg-config' 'gtk-doc' 'gdk-pixbuf2')
+makedepends=('intltool' 'gtk-doc')
optdepends=('python2: rsvg commandline utility')
options=('!libtool')
url="http://librsvg.sourceforge.net/"
install=librsvg.install
source=(http://ftp.gnome.org/pub/gnome/sources/${pkgname}/2.32/${pkgname}-${pkgver}.tar.bz2)
-sha256sums=('e0f6f936dab583de317cc0c36a48f80bdb9c93775225ee84140c7e5e3f841068')
+sha256sums=('91b98051f352fab8a6257688d6b2fd665b4648ed66144861f2f853ccf876d334')
build() {
cd "${srcdir}/${pkgname}-${pkgver}"
@@ -22,10 +22,10 @@ build() {
./configure --prefix=/usr --libexecdir=/usr/lib/${pkgname} \
--with-croco --disable-static \
--with-svgz --enable-gtk-theme
- make || return 1
+ make
}
package() {
cd "${srcdir}/${pkgname}-${pkgver}"
- make DESTDIR="${pkgdir}" install || return 1
+ make DESTDIR="${pkgdir}" install
}
diff --git a/abs/core/librsvg/librsvg.install b/abs/core/librsvg/librsvg.install
index 01eaab0..4d48b07 100644
--- a/abs/core/librsvg/librsvg.install
+++ b/abs/core/librsvg/librsvg.install
@@ -1,13 +1,11 @@
post_install() {
- #We need to update the pixbuf loaders to let GTK support SVG images
- usr/bin/gtk-query-immodules-2.0 > etc/gtk-2.0/gtk.immodules
- usr/bin/gdk-pixbuf-query-loaders > etc/gtk-2.0/gdk-pixbuf.loaders
+ usr/bin/gdk-pixbuf-query-loaders --update-cache
}
post_upgrade() {
- post_install $1
+ post_install
}
post_remove() {
- post_install $1
+ post_install
}