# $Id: PKGBUILD 51385 2009-09-08 05:41:11Z ronald $ # Maintainer: Ronald van Haren # Contributor: Jaroslav Lichtblau pkgname=graphicsmagick pkgver=1.3.6 pkgrel=1 pkgdesc="Image processing system" arch=('i686' 'x86_64') url="http://www.graphicsmagick.org/" license=('MIT') depends=('bzip2' 'freetype2' 'ghostscript' 'jasper' 'lcms' 'libsm' 'libtiff' 'libwmf' 'libxml2' 'libtool') options=('!libtool') source=(http://downloads.sourceforge.net/sourceforge/$pkgname/GraphicsMagick-$pkgver.tar.bz2) md5sums=('3df30799df3b567df98bab7f5b2cc68e') build() { cd "${srcdir}/GraphicsMagick-$pkgver" ./configure --prefix=/usr --enable-shared make || return 1 make DESTDIR="${pkgdir}" install # Install MIT license install -Dm644 "Copyright.txt" "${pkgdir}/usr/share/licenses/$pkgname/Copyright.txt" || return 1 # Remove perllocal.pod and .packlist find "${pkgdir}" -name perllocal.pod -delete find "${pkgdir}" -name .packlist -delete }