# $Id: PKGBUILD 2514 2009-09-19 12:56:22Z ibiru $ # Contributor: dibblethewrecker dibblethewrecker.at.jiwe.dot.org pkgname=shp2svg pkgver=0.5.1 pkgrel=2 pkgdesc="Takes the text input from shp2pgsql and converts it to SVG files" arch=('i686' 'x86_64' 'mips64el') url="http://www.carto.net/papers/svg/utils/shp2svg/" license=('LGPL') depends=('postgis>=1.4' 'perl-math-round') source=(http://www.carto.net/papers/svg/utils/shp2svg/ogis2svg.pl) md5sums=('040103d8c83ee0d7095cad7d703d4e80') build() { mkdir -p $startdir/pkg/usr/bin install -m755 $startdir/src/ogis2svg.pl $startdir/pkg/usr/bin/ogis2svg.pl # add a symlink because the name of the script is a little confusing. ln -sf /usr/bin/ogis2svg.pl $startdir/pkg/usr/bin/shp2svg }