pkgname=libtiff pkgver=4.0.6 pkgrel=1 pkgdesc='Library for manipulation of TIFF images' arch=('x86_64') url="http://www.remotesensing.org/libtiff/" license=('custom') depends=('libjpeg-turbo' 'zlib' 'xz') makedepends=('freeglut' 'glu' 'mesa' 'jbigkit') optdepends=('freeglut: for using tiffgt') options=('!libtool') source=("ftp://ftp.remotesensing.org/pub/libtiff/tiff-${pkgver}.tar.gz") sha1sums=('280e27704eaca5f592b82e71ac0c78b87395e2de') build() { cd tiff-${pkgver} ./configure --prefix=/usr make } check() { cd tiff-${pkgver} make check } package() { cd tiff-${pkgver} make DESTDIR="${pkgdir}" install install -D -m644 COPYRIGHT "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE" }