summaryrefslogtreecommitdiffstats
path: root/abs/core
diff options
context:
space:
mode:
authorBritney Fransen <brfransen@gmail.com>2014-12-03 20:56:32 (GMT)
committerBritney Fransen <brfransen@gmail.com>2014-12-03 20:56:32 (GMT)
commitae6dbf4c04de1d0e90ca6e3514505da0fd1e466b (patch)
tree5aa30aa27c2065e68fa80305cf261d6dfe2c096b /abs/core
parent5a64dfcdfce6044db4968e5972bb68e25d5d0786 (diff)
downloadlinhes_pkgbuild-ae6dbf4c04de1d0e90ca6e3514505da0fd1e466b.zip
linhes_pkgbuild-ae6dbf4c04de1d0e90ca6e3514505da0fd1e466b.tar.gz
linhes_pkgbuild-ae6dbf4c04de1d0e90ca6e3514505da0fd1e466b.tar.bz2
libpng: update to 1.6.15
Diffstat (limited to 'abs/core')
-rw-r--r--abs/core/libpng/PKGBUILD33
1 files changed, 21 insertions, 12 deletions
diff --git a/abs/core/libpng/PKGBUILD b/abs/core/libpng/PKGBUILD
index cf7b93b..957c256 100644
--- a/abs/core/libpng/PKGBUILD
+++ b/abs/core/libpng/PKGBUILD
@@ -1,35 +1,44 @@
-# $Id: PKGBUILD 169446 2012-10-21 10:49:41Z ibiru $
+# $Id$
# 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.5.13
-_apngver=1.5.13
+pkgver=1.6.15
+_apngver=1.6.15
pkgrel=1
pkgdesc="A collection of routines used to create PNG format graphics files"
arch=('i686' 'x86_64')
url="http://www.libpng.org/pub/png/libpng.html"
license=('custom')
depends=('zlib' 'sh')
-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=('0b607a685da977f1bfc96e1c47055183'
- '23c8765aa6ca188c0575386d5ea8fe70')
+source=(http://downloads.sourceforge.net/sourceforge/$pkgname/$pkgname-$pkgver.tar.xz{,.asc}
+ http://downloads.sourceforge.net/sourceforge/libpng-apng/libpng-$_apngver-apng.patch.gz)
+md5sums=('a95cb387c53215b034203b41ec57c7e5'
+ 'SKIP'
+ '612524080d5515f4ea81541a9b13bf61')
-build() {
+prepare() {
cd $pkgname-$pkgver
- # Add animated PNG (apng) support
+ # Add animated PNG (apng) support. Required by Firefox
# see http://sourceforge.net/projects/libpng-apng/
- patch -p1 -i ../libpng-$_apngver-apng.patch
+ patch -Np1 -i ../libpng-$_apngver-apng.patch
+}
+
+build() {
+ cd $pkgname-$pkgver
- ./configure --prefix=/usr
+ ./configure --prefix=/usr --disable-static
make
}
+check() {
+ cd $pkgname-$pkgver
+ make check
+}
+
package() {
cd $pkgname-$pkgver
make DESTDIR="$pkgdir" install