# Maintainer: Ian Botley # Contributor: Eric Belanger pkgname=imagemagick-doc pkgver=6.6.0.9 pkgrel=9 pkgdesc="The ImageMagick documentation (utilities manuals and libraries API)" arch=('any') url="http://www.imagemagick.org/" license=('custom') depends=('imagemagick') options=('!makeflags') source=(ftp://ftp.imagemagick.org/pub/ImageMagick/ImageMagick-${pkgver%.*}-${pkgver##*.}.tar.xz) md5sums=('e2c654ba9a0bc002608e40ce523d3e13') sha1sums=('797fae0d0b58ba148750f20af292dad75a1c4881') build() { cd "${srcdir}/ImageMagick-${pkgver%.*}-${pkgver##*.}" ./configure --prefix=/usr || return 1 make DESTDIR="${pkgdir}" install-data-html || return 1 install -D -m644 LICENSE "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE" || return 1 install -D -m644 NOTICE "${pkgdir}/usr/share/licenses/${pkgname}/NOTICE" || return 1 }