# $Id: PKGBUILD 167697 2012-10-03 05:10:48Z eric $ # Maintainer: Eric BĂ©langer pkgname=libtiff pkgver=4.0.3 pkgrel=1 pkgdesc="Library for manipulation of TIFF images" arch=('i686' 'x86_64') url="http://www.remotesensing.org/libtiff/" license=('custom') depends=('libjpeg' 'zlib' 'xz') makedepends=('freeglut') optdepends=('freeglut: for using tiffgt') options=('!libtool') source=(ftp://ftp.remotesensing.org/pub/libtiff/tiff-${pkgver}.tar.gz) sha1sums=('652e97b78f1444237a82cbcfe014310e776eb6f0') build() { cd "${srcdir}/tiff-${pkgver}" ./configure --prefix=/usr make } check() { cd "${srcdir}/tiff-${pkgver}" # make check } package() { cd "${srcdir}/tiff-${pkgver}" make DESTDIR="${pkgdir}" install install -D -m644 COPYRIGHT "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE" }