From f9a9f144063fab4267f2cde4d4d11524f297ca5d Mon Sep 17 00:00:00 2001
From: Britney Fransen <brfransen@gmail.com>
Date: Thu, 11 Dec 2014 17:54:49 +0000
Subject: gdk-pixbuf: update to 0.22.0-12

---
 abs/core/gdk-pixbuf/PKGBUILD | 16 ++++++++++++----
 1 file changed, 12 insertions(+), 4 deletions(-)

diff --git a/abs/core/gdk-pixbuf/PKGBUILD b/abs/core/gdk-pixbuf/PKGBUILD
index 7b0059d..e569b29 100644
--- a/abs/core/gdk-pixbuf/PKGBUILD
+++ b/abs/core/gdk-pixbuf/PKGBUILD
@@ -1,18 +1,18 @@
-# $Id: PKGBUILD 66703 2012-02-27 17:09:51Z ibiru $
-# Maintainer: Sergej Pupykin <pupykin.s+arch@gmail.com>
+# $Id: PKGBUILD 99752 2013-10-30 23:29:49Z allan $
+# Maintainer: Brian Bidulock <bidulock@openss7.org>
+# Contributor: Sergej Pupykin <pupykin.s+arch@gmail.com>
 # Contributor: dorphell <dorphell@archlinux.org>
 # Contributor: Judd Vinet <jvinet@zeroflux.org>
 
 pkgname=gdk-pixbuf
 pkgver=0.22.0
-pkgrel=9
+pkgrel=12
 pkgdesc="Image loading and manipulation library"
 arch=('i686' 'x86_64')
 url="http://www.gtk.org/"
 license=('GPL' 'LGPL')
 depends=('gtk' 'libtiff' 'libpng')
 makedepends=('libxt')
-options=('!libtool')
 source=(ftp://ftp.gnome.org/pub/gnome/sources/${pkgname}/0.22/${pkgname}-${pkgver}.tar.bz2
 	gdk-pixbuf-0.22.0-bmp_reject_corrupt.patch
 	gdk-pixbuf-0.22.0-bmp_secure.patch
@@ -34,10 +34,18 @@ build() {
   patch -Np1 -i ${srcdir}/gdk-pixbuf-0.22.0-loaders.patch
   patch -Np0 -i ${srcdir}/gdk-pixbuf-0.22.0.patch
   patch -Np1 -i ${srcdir}/libpng15.patch
+  sed -i \
+    -e 's|AM_CONFIG_HEADER|AC_CONFIG_HEADER|' \
+    -e 's|AM_PROG_CC_STDC|AC_PROG_CC|' \
+    configure.in
   libtoolize --force --copy --automake
   autoreconf --force --install
   ./configure --prefix=/usr --disable-gtk-doc
   make
+}
+
+package() {
+  cd ${srcdir}/${pkgname}-${pkgver}
   make DESTDIR=${pkgdir} install
   rm -rf ${pkgdir}/usr/share/gnome
 }
-- 
cgit v0.12

