diff options
Diffstat (limited to 'abs/core/libtiff/PKGBUILD')
-rw-r--r-- | abs/core/libtiff/PKGBUILD | 31 |
1 files changed, 16 insertions, 15 deletions
diff --git a/abs/core/libtiff/PKGBUILD b/abs/core/libtiff/PKGBUILD index ed80a2b..2606aa1 100644 --- a/abs/core/libtiff/PKGBUILD +++ b/abs/core/libtiff/PKGBUILD @@ -1,32 +1,33 @@ -# $Id: PKGBUILD 83314 2010-06-20 21:43:27Z eric $ -# Maintainer: Eric Belanger <eric@archlinux.org> -# Contributor: dorphell <dorphell@archlinux.org> +# $Id: PKGBUILD 162307 2012-06-24 20:44:52Z eric $ +# Maintainer: Eric BĂ©langer <eric@archlinux.org> pkgname=libtiff -pkgver=3.9.4 +pkgver=4.0.2 pkgrel=1 pkgdesc="Library for manipulation of TIFF images" arch=('i686' 'x86_64') url="http://www.remotesensing.org/libtiff/" license=('custom') -depends=('libjpeg' 'zlib') -makedepends=('libgl' 'freeglut' 'libxmu' 'libxi') +depends=('libjpeg' 'zlib' 'xz') +makedepends=('freeglut') optdepends=('freeglut: for using tiffgt') options=('!libtool') -source=(ftp://ftp.remotesensing.org/pub/libtiff/tiff-${pkgver}.tar.gz \ - libtiff-CVE-2009-2285.patch) -md5sums=('2006c1bdd12644dbf02956955175afd6' 'ff61077408727a82281f77a94f555e2a') -sha1sums=('a4e32d55afbbcabd0391a9c89995e8e8a19961de' 'eadce8c8bd72ea9c74f35300bf299131813b0c8b') +source=(ftp://ftp.remotesensing.org/pub/libtiff/tiff-${pkgver}.tar.gz) +sha1sums=('d84b7b33a6cfb3d15ca386c8c16b05047f8b5352') build() { cd "${srcdir}/tiff-${pkgver}" - patch -p1 < ../libtiff-CVE-2009-2285.patch || return 1 - ./configure --prefix=/usr --sysconfdir=/etc --mandir=/usr/share/man || return 1 - make || return 1 + ./configure --prefix=/usr + make +} + +check() { + cd "${srcdir}/tiff-${pkgver}" + make check } package() { cd "${srcdir}/tiff-${pkgver}" - make DESTDIR="${pkgdir}" install || return 1 - install -D -m644 COPYRIGHT "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE" || return 1 + make DESTDIR="${pkgdir}" install + install -D -m644 COPYRIGHT "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE" } |