PKGBUILDs/extra/imagemagick-doc/PKGBUILD
2009-10-09 21:23:22 -05:00

24 lines
928 B
Bash

# $Id: PKGBUILD 52407 2009-09-19 04:25:01Z eric $
# Maintainer: Eric Belanger <eric@archlinux.org>
# Contributor: Eric Belanger <eric@archlinux.org>
pkgname=imagemagick-doc
pkgver=6.5.6.1
pkgrel=1
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.bz2)
md5sums=('e74cc971e0e6dbf14e498fceba86a33a')
sha1sums=('73b4125e14f4cce577a7d861c58275cc49b768b3')
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
}