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

31 lines
1,002 B
Bash

# $Id: PKGBUILD 51385 2009-09-08 05:41:11Z ronald $
# Maintainer: Ronald van Haren <ronald.archlinux.org>
# Contributor: Jaroslav Lichtblau <dragonlord@aur.archlinux.org>
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
}