diff options
Diffstat (limited to 'abs/core/libpng')
-rw-r--r-- | abs/core/libpng/PKGBUILD | 33 |
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 |