From e863b720a27808d4f6ae3875fa8507062fde737e Mon Sep 17 00:00:00 2001
From: Michael Hanson <hansonorders@verizon.net>
Date: Wed, 24 Nov 2010 02:54:23 +0000
Subject: libpng: upgrade

---
 abs/core/libpng/PKGBUILD | 23 +++++++++++++----------
 1 file changed, 13 insertions(+), 10 deletions(-)

diff --git a/abs/core/libpng/PKGBUILD b/abs/core/libpng/PKGBUILD
index d665f3f..5dd7a5d 100644
--- a/abs/core/libpng/PKGBUILD
+++ b/abs/core/libpng/PKGBUILD
@@ -1,12 +1,12 @@
-# $Id: PKGBUILD 84179 2010-06-27 07:28:57Z pierre $
+# $Id: PKGBUILD 94202 2010-10-05 08:24:27Z jgc $
 # Maintainer: Jan de Groot <jgc@archlinux.org>
 # Contributor: dorphell <dorphell@archlinux.org>
 # Contributor: Travis Willard <travis@archlinux.org>
 # Contributor: Douglas Soares de Andrade <douglas@archlinux.org>
 
 pkgname=libpng
-pkgver=1.4.3
-_apngver=1.4.2
+pkgver=1.4.4
+_apngver=1.4.4
 pkgrel=1
 pkgdesc="A collection of routines used to create PNG format graphics files"
 arch=('i686' 'x86_64')
@@ -16,8 +16,8 @@ depends=('zlib')
 options=('!libtool')
 source=("http://downloads.sourceforge.net/sourceforge/${pkgname}/${pkgname}-${pkgver}.tar.xz"
         "http://downloads.sourceforge.net/sourceforge/libpng-apng/libpng-${_apngver}-apng.patch.gz")
-md5sums=('322e2e0c0dea7a374ce6e60d9a72e604'
-         '378ade7c68c25d00e099b28911d06561')
+md5sums=('0342d1cedb9b9a80294dd1b1e2ec9ae9'
+         'd5cd185e7da764a10ff9046d42449259')
 
 build() {
   cd "${srcdir}/${pkgname}-${pkgver}"
@@ -26,13 +26,16 @@ build() {
   # see http://sourceforge.net/projects/libpng-apng/
   patch -p1 -i "${srcdir}/libpng-${_apngver}-apng.patch"
 
-  libtoolize --force --copy
-  aclocal
-  autoconf
-  automake --add-missing
+  #libtoolize --force --copy
+  #aclocal
+  #autoconf
+  #automake --add-missing
 
   ./configure --prefix=/usr
-  make
+  make || return 1
+}
+package() {
+  cd "${srcdir}/${pkgname}-${pkgver}"
   make DESTDIR="${pkgdir}" install
 
   cd contrib/pngminus
-- 
cgit v0.12

