diff options
author | Florian Pritz <bluewind@xinu.at> | 2011-10-23 22:17:52 +0200 |
---|---|---|
committer | Florian Pritz <bluewind@xinu.at> | 2011-10-23 22:17:52 +0200 |
commit | b6847ef7e6f28d2832d4bc8ca12b764083f20d7d (patch) | |
tree | fc5e8bf88eae20ecc2f113e99a0f1df1d87372dc /libpng12 | |
parent | d79be8d79be1f0504dd74049d14a1010a3b30fc7 (diff) | |
download | aur-packages-b6847ef7e6f28d2832d4bc8ca12b764083f20d7d.tar.gz aur-packages-b6847ef7e6f28d2832d4bc8ca12b764083f20d7d.tar.xz |
upstream update
Signed-off-by: Florian Pritz <bluewind@xinu.at>
Diffstat (limited to 'libpng12')
-rw-r--r-- | libpng12/PKGBUILD | 62 |
1 files changed, 32 insertions, 30 deletions
diff --git a/libpng12/PKGBUILD b/libpng12/PKGBUILD index 17ff1d0..fb90e3b 100644 --- a/libpng12/PKGBUILD +++ b/libpng12/PKGBUILD @@ -1,45 +1,47 @@ # $Id: PKGBUILD 58551 2009-11-08 22:37:12Z eric $ -# Maintainer: dorphell <dorphell@archlinux.org> -# Maintainer: Travis Willard <travis@archlinux.org> -# Maintainer: Douglas Soares de Andrade <douglas@archlinux.org> +# Contributor: dorphell <archlinux.org: dorphell> +# Contributor: Travis Willard <archlinux.org: travis> +# Contributor: Douglas Soares de Andrade <archlinux.org: douglas> +# Maintaoner: Jesse Jaara <gmail.com, mail.ru: jesse.jaara> pkgname=libpng12 _realname=libpng -pkgver=1.2.44 -pkgrel=1 +pkgver=1.2.46 +pkgrel=2 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') options=('!libtool') -source=("http://downloads.sourceforge.net/sourceforge/${_realname}/${_realname}-${pkgver}.tar.bz2" - "http://littlesvr.ca/apng/diff/libpng-1.2.44-apng.patch") - -md5sums=('e3ac7879d62ad166a6f0c7441390d12b' - '8cb91087fd91000d2e35823587a2e7ef') +source=("http://sourceforge.net/projects/libpng/files/libpng12/${pkgver}/libpng-${pkgver}.tar.xz" + "http://sourceforge.net/projects/apng/files/libpng/libpng12/libpng-${pkgver}-apng.patch.gz") build() { cd "${srcdir}/${_realname}-${pkgver}" - # Add animated PNG (apng) support - # see http://hp.vector.co.jp/authors/VA013651/freeSoftware/apng.html - patch -Np0 -i "${srcdir}/libpng-1.2.44-apng.patch" || return 1 - - libtoolize --force --copy || return 1 - aclocal || return 1 - autoconf || return 1 - automake --add-missing || return 1 - - ./configure --prefix=/usr || return 1 - make ECHO=echo || return 1 - make ECHO=echo DESTDIR="${pkgdir}" install || return 1 - - #cd contrib/pngminus - #make ECHO=echo 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" || return 1 - # only libs needed - rm -rf ${pkgdir}/usr/lib/{libpng.so,libpng.a,pkgconfig} - rm -rf ${pkgdir}/usr/{include,share,bin} + patch -Np0 -i "${srcdir}/libpng-${pkgver}-apng.patch" + + libtoolize --force --copy + aclocal + autoconf + automake --add-missing + + ./configure --prefix=/usr + + make ECHO=echo +} + +package() { + cd "${srcdir}/${_realname}-${pkgver}" + + make ECHO=echo DESTDIR="${pkgdir}" install + + rm -rf "${pkgdir}/usr/share" + rm -rf "${pkgdir}/usr/bin/libpng-config" + rm -rf "${pkgdir}/usr/lib/"{libpng.so,libpng.a} + rm -fr "${pkgdir}/usr/lib/pkgconfig/libpng.pc" + rm -rf "${pkgdir}/usr/include/"{pngconf.h,png.h} } +md5sums=('4a0a9662710dab35760ab8ecd6835e65' + '13b019dac361f88faed8989f0c6d5f04') |