#Maintainer: R S Ananda Murthy <rsamurti@gmail.com>

pkgname=pdf2svg
pkgver=0.2.1
pkgrel=1am
arch=x86_64
source=("http://www.cityinthesky.co.uk/files/$pkgname-$pkgver.tar.gz")
sourcetemplate=http://people.salixos.org/rsamurti/$pkgname
docs=("readme" "install" "copying" "changelog" "authors" "todo")
url=http://www.cityinthesky.co.uk/pdf2svg.html

slackdesc=\
(
#|-----handy-ruler------------------------------------------------------|
"pdf2svg (A utility to convert PDF files to SVG files)"
"A utility to convert PDF files to SVG files which can be edited in"
"Inkscape."
)


build() {
	cd $startdir/src/$pkgname-$pkgver
	./configure --prefix=/usr --libdir=/usr/lib${LIBDIRSUFFIX} --localstatedir=/var --sysconfdir=/etc
	make || return 1
	make install DESTDIR=$startdir/pkg
}