summaryrefslogtreecommitdiff
path: root/community/shp2svg
diff options
context:
space:
mode:
authorParabola <dev@list.parabolagnulinux.org>2011-04-05 14:26:38 +0000
committerParabola <dev@list.parabolagnulinux.org>2011-04-05 14:26:38 +0000
commit415856bdd4f48ab4f2732996f0bae58595092bbe (patch)
treeede2018b591f6dfb477fe9341ba17b9bc000fab9 /community/shp2svg
Tue Apr 5 14:26:38 UTC 2011
Diffstat (limited to 'community/shp2svg')
-rw-r--r--community/shp2svg/PKGBUILD20
1 files changed, 20 insertions, 0 deletions
diff --git a/community/shp2svg/PKGBUILD b/community/shp2svg/PKGBUILD
new file mode 100644
index 000000000..5f8d1fb6e
--- /dev/null
+++ b/community/shp2svg/PKGBUILD
@@ -0,0 +1,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
+}