summaryrefslogtreecommitdiff
path: root/community/shp2svg/PKGBUILD
blob: 5f8d1fb6ed7dc7afbba4e4895dd4744de4e0a6d6 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
# $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')
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
}