summaryrefslogtreecommitdiff
path: root/community/shp2svg/PKGBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'community/shp2svg/PKGBUILD')
-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
+}