Date: Tuesday, April 15, 2014 @ 00:54:34 Author: dwallace Revision: 109464
archrelease: copy trunk to multilib-x86_64 Added: lib32-libpng12/repos/multilib-x86_64/PKGBUILD (from rev 109463, lib32-libpng12/trunk/PKGBUILD) Deleted: lib32-libpng12/repos/multilib-x86_64/PKGBUILD ----------+ PKGBUILD | 112 +++++++++++++++++++++++++++++++------------------------------ 1 file changed, 58 insertions(+), 54 deletions(-) Deleted: PKGBUILD =================================================================== --- PKGBUILD 2014-04-14 22:54:11 UTC (rev 109463) +++ PKGBUILD 2014-04-14 22:54:34 UTC (rev 109464) @@ -1,54 +0,0 @@ -# $Id$ -# Maintainer: Daniel Wallace <danielwallace at gtmanfred dot com> -# Contributor: trya <tryagainp...@gmail.com> -# Contributor: Jan de Groot <j...@archlinux.org> -# Contributor: dorphell <dorph...@archlinux.org> -# Contributor: Travis Willard <tra...@archlinux.org> -# Contributor: Douglas Soares de Andrade <doug...@archlinux.org> - -_pkgbasename=libpng -pkgname=lib32-libpng12 -pkgver=1.2.50 -pkgrel=2 -pkgdesc="A collection of routines used to create PNG format graphics files (32-bit, 1.2 branch)" -arch=('x86_64') -url="http://www.libpng.org/pub/png/libpng.html" -license=('custom') -depends=('lib32-zlib') -makedepends=('gcc-multilib') -options=('!libtool') -source=("http://sourceforge.net/projects/libpng/files/libpng-${pkgver}.tar.xz" - "http://sourceforge.net/projects/apng/files/libpng/libpng12/libpng-${pkgver}-apng.patch.gz") -md5sums=('a3e00fccbfe356174ab515b5c00641c7' - 'b06ac3f6a6f982abc2036359665e82a9') - -build() { - export CC="gcc -m32" - export CXX="g++ -m32" - export PKG_CONFIG_PATH="/usr/lib32/pkgconfig" - - cd "${srcdir}/${_pkgbasename}-${pkgver}" - - # Add animated PNG (apng) support - # see http://sourceforge.net/projects/libpng-apng/ - patch -Np0 -i "${srcdir}/libpng-${pkgver}-apng.patch" - - libtoolize --force --copy - aclocal - autoconf - automake --add-missing - - ./configure --prefix=/usr --libdir=/usr/lib32 - make -} - -package() { - cd "${srcdir}/${_pkgbasename}-${pkgver}" - make DESTDIR="${pkgdir}" install - - rm -f ${pkgdir}/usr/lib32/{libpng.so,libpng.a,pkgconfig/libpng.pc} - rm -rf ${pkgdir}/usr/{include,share,bin} - - mkdir -p "${pkgdir}/usr/share/licenses" - install -D -m644 LICENSE "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE" -} Copied: lib32-libpng12/repos/multilib-x86_64/PKGBUILD (from rev 109463, lib32-libpng12/trunk/PKGBUILD) =================================================================== --- PKGBUILD (rev 0) +++ PKGBUILD 2014-04-14 22:54:34 UTC (rev 109464) @@ -0,0 +1,58 @@ +# $Id$ +# Maintainer: Daniel Wallace <danielwallace at gtmanfred dot com> +# Contributor: trya <tryagainp...@gmail.com> +# Contributor: Jan de Groot <j...@archlinux.org> +# Contributor: dorphell <dorph...@archlinux.org> +# Contributor: Travis Willard <tra...@archlinux.org> +# Contributor: Douglas Soares de Andrade <doug...@archlinux.org> + +_pkgbasename=libpng +pkgname=lib32-libpng12 +pkgver=1.2.51 +pkgrel=1 +pkgdesc="A collection of routines used to create PNG format graphics files (32-bit, 1.2 branch)" +arch=('x86_64') +url="http://www.libpng.org/pub/png/libpng.html" +license=('custom') +depends=('lib32-zlib') +makedepends=('gcc-multilib') +options=('!libtool') +source=("http://sourceforge.net/projects/libpng/files/libpng-${pkgver}.tar.xz" + "http://sourceforge.net/projects/apng/files/libpng/libpng12/libpng-${pkgver}-apng.patch.gz") +md5sums=('4efba67fa5aa2b785c6fcec2cc3e90c9' + '28bde2a02e40ccdc60ff7c8e6b2118bf') + +prepare(){ + cd "${srcdir}/${_pkgbasename}-${pkgver}" + + # Add animated PNG (apng) support + # see http://sourceforge.net/projects/libpng-apng/ + patch -Np0 -i "${srcdir}/libpng-${pkgver}-apng.patch" +} + +build() { + export CC="gcc -m32" + export CXX="g++ -m32" + export PKG_CONFIG_PATH="/usr/lib32/pkgconfig" + + cd "${srcdir}/${_pkgbasename}-${pkgver}" + + libtoolize --force --copy + aclocal + autoconf + automake --add-missing + + ./configure --prefix=/usr --libdir=/usr/lib32 + make +} + +package() { + cd "${srcdir}/${_pkgbasename}-${pkgver}" + make DESTDIR="${pkgdir}" install + + rm -f ${pkgdir}/usr/lib32/{libpng.so,libpng.a,pkgconfig/libpng.pc} + rm -rf ${pkgdir}/usr/{include,share,bin} + + mkdir -p "${pkgdir}/usr/share/licenses" + install -D -m644 LICENSE "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE" +}