core/libtiff/PKGBUILD
Neofytos Kolokotronis 2459c9ea3a libtiff: 4.0.6
2015-12-11 21:26:47 +01:00

31 lines
722 B
Bash

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"
}