summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--abs/core/gdk-pixbuf2/PKGBUILD24
-rw-r--r--abs/core/gdk-pixbuf2/gdk-pixbuf2.install4
2 files changed, 15 insertions, 13 deletions
diff --git a/abs/core/gdk-pixbuf2/PKGBUILD b/abs/core/gdk-pixbuf2/PKGBUILD
index 44b8e7a..d281834 100644
--- a/abs/core/gdk-pixbuf2/PKGBUILD
+++ b/abs/core/gdk-pixbuf2/PKGBUILD
@@ -1,32 +1,34 @@
-# $Id: PKGBUILD 98279 2010-11-06 11:00:15Z ibiru $
+# $Id: PKGBUILD 156774 2012-04-23 09:05:18Z ibiru $
# Maintainer: Ionut Biru <ibiru@archlinux.org>
+
pkgname=gdk-pixbuf2
-pkgver=2.22.1
-pkgrel=3
-pkgdesc="An image loading library for gtk2"
+pkgver=2.26.1
+pkgrel=1
+pkgdesc="An image loading library"
arch=('i686' 'x86_64')
url="http://www.gtk.org/"
license=('GPL2')
-depends=('glib2>=2.26.0' 'libpng>=1.4.3' 'libtiff>=3.9.4' 'libjpeg>=8.0.2' 'libx11')
+depends=('glib2' 'libpng' 'libtiff' 'libjpeg' 'libx11')
makedepends=('gtk-doc' 'gobject-introspection')
options=('!libtool')
install=gdk-pixbuf2.install
-source=(http://download.gnome.org/sources/gdk-pixbuf/2.22/gdk-pixbuf-${pkgver}.tar.bz2)
-sha256sums=('6ce87eda24af9362307b2593c154d0b660f4e26d0abf2e71d46d0ddd55fd953d')
+source=(http://download.gnome.org/sources/gdk-pixbuf/${pkgver%.*}/gdk-pixbuf-$pkgver.tar.xz)
+sha256sums=('a60af12b58d9cc15ba4c680c6730ce5d38e8d664af1d575a379385b94b4ec7ba')
build() {
- cd "${srcdir}/gdk-pixbuf-${pkgver}"
+ cd "gdk-pixbuf-$pkgver"
./configure --prefix=/usr \
--without-libjasper \
+ --with-x11 \
--with-included-loaders=png
- make || return 1
+ make
}
package() {
- cd "${srcdir}/gdk-pixbuf-${pkgver}"
+ cd "gdk-pixbuf-$pkgver"
- make DESTDIR="${pkgdir}" install || return 1
+ make DESTDIR="$pkgdir" install
}
# vim:set ts=2 sw=2 et:
diff --git a/abs/core/gdk-pixbuf2/gdk-pixbuf2.install b/abs/core/gdk-pixbuf2/gdk-pixbuf2.install
index 1b35942..f04c096 100644
--- a/abs/core/gdk-pixbuf2/gdk-pixbuf2.install
+++ b/abs/core/gdk-pixbuf2/gdk-pixbuf2.install
@@ -1,5 +1,5 @@
post_install() {
- usr/bin/gdk-pixbuf-query-loaders --update-cache
+ gdk-pixbuf-query-loaders --update-cache
}
post_upgrade() {
@@ -7,5 +7,5 @@ post_upgrade() {
}
pre_remove() {
- rm -f usr/lib/gdk-pixbuf-2.0/2.10.0/loaders/loaders.cache
+ rm -f /usr/lib/gdk-pixbuf-2.0/2.10.0/loaders/loaders.cache
}