#Maintainer: R S Ananda Murthy pkgname=graphicsmagick pkgver=1.3.12 pkgrel=1 zenver=66 arch=i486 source=("http://downloads.sourceforge.net/project/graphicsmagick/graphicsmagick/1.3.12/GraphicsMagick-1.3.12.tar.bz2") sourcetemplate=http://zenwalk.pinguix.com/user-accounts/rsamurti/$pkgname/ docs=("readme" "install" "copying" "changelog" "authors" "news" "todo") url=http://www.graphicsmagick.org/ slackdesc=\ ( #|-----handy-ruler------------------------------------------------------| "graphicsmagick (Image processing tools and libraries)" "GraphicsMagick is the swiss army knife of image processing." "Comprised of 248K physical lines (according to SLOCCount) of" "source code in the base package (or 891K including 3rd party" "libraries) it provides a robust and efficient collection of tools and" "libraries which support reading, writing, and manipulating" "an image in over 88 major formats including important formats like" "DPX, GIF, JPEG, JPEG-2000, PNG, PDF, PNM, and TIFF." ) build() { cd $startdir/src/GraphicsMagick-$pkgver ./configure --prefix=/usr --localstatedir=/var \ --sysconfdir=/etc --mandir=/usr/man --enable-shared \ --with-gs-font-dir=/usr/share/fonts/Type1 make || return 1 make DESTDIR=$startdir/pkg install mkdir -p $startdir/pkg/usr/doc/$pkgname-$pkgver mv $startdir/pkg/usr/share/doc/GraphicsMagick/www $startdir/pkg/usr/doc/$pkgname-$pkgver mv $startdir/pkg/usr/share/doc/GraphicsMagick/* $startdir/pkg/usr/doc/$pkgname-$pkgver rm -rf $startdir/pkg/usr/share/doc }