1 # Maintainer: Levente Polyak <anthraxx[at]archlinux[dot]org>
2 # Contributor: Eric BĂ©langer <eric@archlinux.org>
7 pkgdesc='Library for manipulation of TIFF images'
8 url='http://www.simplesystems.org/libtiff/'
11 depends=('glibc' 'libjpeg' 'libjpeg.so' 'zlib' 'xz' 'zstd')
12 makedepends=('freeglut' 'glu' 'mesa' 'jbigkit')
13 optdepends=('freeglut: for using tiffgt')
14 provides=('libtiff.so' 'libtiffxx.so')
15 source=(https://download.osgeo.org/libtiff/tiff-${pkgver}.tar.gz{,.sig})
16 sha256sums=('0e46e5acb087ce7d1ac53cf4f56a09b221537fc86dfc5daaad1c2e89e1b37ac8'
18 b2sums=('433a087249541f6142dd25b6dc807018639908175b0d73b4af3aa301af2dee3d76184e4689e7b2f1f9b73567ac78d50456ee94fffe00bad6da05375cf2d94d92'
20 validpgpkeys=('EBDFDB21B020EE8FD151A88DE301047DE1198975' # Bob Friesenhahn <bfriesen@simple.dallas.tx.us>
21 'B1FA7D81EEB8E66399178B9733EBBFC47B3DD87D') # Even Rouault <even.rouault@spatialys.com>
28 --mandir=/usr/share/man \
29 --with-docdir=/usr/share/doc/${pkgname}
30 sed -i -e 's/ -shared / -Wl,-O1,--as-needed\0/g' libtool
41 make DESTDIR="${pkgdir}" install
42 install -Dm 644 COPYRIGHT -t "${pkgdir}/usr/share/licenses/${pkgname}"