diff options
author | James Meyer <james.meyer@operamail.com> | 2010-10-23 18:17:40 (GMT) |
---|---|---|
committer | James Meyer <james.meyer@operamail.com> | 2010-10-23 18:19:39 (GMT) |
commit | adbcf19958300e9b6598990184c8815b945ba0ee (patch) | |
tree | f4283c850ac0ac202c17e78a637ee7ca8147621b /abs/core/libpng | |
parent | 61a68250df10d29b624650948484898334ff22d0 (diff) | |
download | linhes_pkgbuild-adbcf19958300e9b6598990184c8815b945ba0ee.zip linhes_pkgbuild-adbcf19958300e9b6598990184c8815b945ba0ee.tar.gz linhes_pkgbuild-adbcf19958300e9b6598990184c8815b945ba0ee.tar.bz2 |
Removed old core and extra from repo. Renamed -testing to core/extra. This will setup the base for the testing branch.
Diffstat (limited to 'abs/core/libpng')
-rw-r--r-- | abs/core/libpng/PKGBUILD | 48 |
1 files changed, 24 insertions, 24 deletions
diff --git a/abs/core/libpng/PKGBUILD b/abs/core/libpng/PKGBUILD index 12515ed..d665f3f 100644 --- a/abs/core/libpng/PKGBUILD +++ b/abs/core/libpng/PKGBUILD @@ -1,10 +1,12 @@ -# $Id: PKGBUILD 22148 2008-12-22 12:33:23Z pierre $ -# Maintainer: dorphell <dorphell@archlinux.org> -# Maintainer: Travis Willard <travis@archlinux.org> -# Maintainer: Douglas Soares de Andrade <douglas@archlinux.org> +# $Id: PKGBUILD 84179 2010-06-27 07:28:57Z pierre $ +# 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.2.34 +pkgver=1.4.3 +_apngver=1.4.2 pkgrel=1 pkgdesc="A collection of routines used to create PNG format graphics files" arch=('i686' 'x86_64') @@ -12,31 +14,29 @@ url="http://www.libpng.org/pub/png/libpng.html" license=('custom') depends=('zlib') options=('!libtool') -source=("http://downloads.sourceforge.net/sourceforge/${pkgname}/${pkgname}-${pkgver}.tar.bz2" - "http://hp.vector.co.jp/authors/VA013651/lib/libpng-${pkgver}-apng.patch.gz") -options=('!libtool') -md5sums=('37362876feb21344fd3af1228527db0f' - 'a7ee9fd9af34692b75eedd5b03b69ca9') +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') build() { - cd ${startdir}/src/${pkgname}-${pkgver} + cd "${srcdir}/${pkgname}-${pkgver}" # Add animated PNG (apng) support - # see http://hp.vector.co.jp/authors/VA013651/freeSoftware/apng.html - patch -p1 -i $srcdir/libpng-${pkgver}-apng.patch || return 1 + # see http://sourceforge.net/projects/libpng-apng/ + patch -p1 -i "${srcdir}/libpng-${_apngver}-apng.patch" - libtoolize --force --copy || return 1 - aclocal || return 1 - autoconf || return 1 - automake --add-missing || return 1 + libtoolize --force --copy + aclocal + autoconf + automake --add-missing - ./configure --prefix=/usr || return 1 - make ECHO=echo || return 1 - make ECHO=echo DESTDIR=${startdir}/pkg install || return 1 + ./configure --prefix=/usr + make + make DESTDIR="${pkgdir}" install cd contrib/pngminus - make ECHO=echo PNGLIB="-L${startdir}/pkg/usr/lib -lpng" -f makefile.std png2pnm pnm2png - install -m755 png2pnm pnm2png ${startdir}/pkg/usr/bin/ - install -m755 -d ${startdir}/pkg/usr/share/licenses/${pkgname} - install -m644 ../../LICENSE ${startdir}/pkg/usr/share/licenses/${pkgname}/ || return 1 + make PNGLIB="-L${pkgdir}/usr/lib -lpng" -f makefile.std png2pnm pnm2png + install -m755 png2pnm pnm2png "${pkgdir}/usr/bin/" + install -D -m644 ../../LICENSE "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE" } |