# Contributor: Will Jordan # Maintainer: Will Jordan pkgname=vips pkgver=8.6.1 pkgrel=0 pkgdesc="A fast image processing library with low memory needs" url="http://www.vips.ecs.soton.ac.uk/" arch="all" license="LGPL-2.1-or-later" depends_dev="libjpeg-turbo-dev libexif-dev lcms2-dev" makedepends="$depends_dev fftw-dev giflib-dev glib-dev libpng-dev libwebp-dev expat-dev orc-dev tiff-dev" subpackages="$pkgname-dev $pkgname-doc $pkgname-lang $pkgname-tools" source="https://github.com/jcupitt/libvips/releases/download/v$pkgver/$pkgname-$pkgver.tar.gz" builddir="$srcdir/$pkgname-$pkgver" build() { cd "$builddir" ./configure \ --build=$CBUILD \ --host=$CHOST \ --prefix=/usr \ --enable-debug=no \ --without-python \ --without-gsf \ --disable-static \ --mandir=/usr/share/man \ --infodir=/usr/share/info \ --docdir=/usr/share/doc make } package() { cd "$builddir" make DESTDIR="$pkgdir" install } tools() { pkgdesc="Command-line tools for $pkgname" mkdir -p "$subpkgdir"/usr/ mv "$pkgdir"/usr/bin "$subpkgdir"/usr/ } sha512sums="95ea05b0958ce2eeb386651d6b3442c7240bd97771e09add7563ad48b36c7c24792e38b0fc52bae03c79cd264feead068af8be4e34d33d0407ec351de003c034 vips-8.6.1.tar.gz"