summarylogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--.SRCINFO16
-rw-r--r--PKGBUILD20
2 files changed, 36 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO
new file mode 100644
index 000000000000..2c9532990610
--- /dev/null
+++ b/.SRCINFO
@@ -0,0 +1,16 @@
+# Generated by mksrcinfo v8
+# Sat Oct 21 16:32:58 UTC 2017
+pkgbase = shp2svg
+ pkgdesc = Takes the text input from shp2pgsql and converts it to SVG files
+ pkgver = 0.5.1
+ pkgrel = 5
+ url = http://old.carto.net/papers/svg/utils/shp2svg/
+ arch = any
+ license = LGPL
+ depends = postgis
+ depends = perl-math-round
+ source = http://old.carto.net/papers/svg/utils/shp2svg/ogis2svg.pl
+ sha256sums = 05f8ff0eac46f54084793717c4542e37bc0acb55fdd822fe75db8aa59bc90bfd
+
+pkgname = shp2svg
+
diff --git a/PKGBUILD b/PKGBUILD
new file mode 100644
index 000000000000..052f57372766
--- /dev/null
+++ b/PKGBUILD
@@ -0,0 +1,20 @@
+# Maintainer:
+# Contributor: Jaroslav Lichtblau <svetlemodry@archlinux.org>
+# Contributor: dibblethewrecker dibblethewrecker.at.jiwe.dot.org
+
+pkgname=shp2svg
+pkgver=0.5.1
+pkgrel=5
+pkgdesc="Takes the text input from shp2pgsql and converts it to SVG files"
+arch=('any')
+url="http://old.carto.net/papers/svg/utils/shp2svg/"
+license=('LGPL')
+depends=('postgis' 'perl-math-round')
+source=(http://old.carto.net/papers/svg/utils/shp2svg/ogis2svg.pl)
+sha256sums=('05f8ff0eac46f54084793717c4542e37bc0acb55fdd822fe75db8aa59bc90bfd')
+
+package() {
+ install -Dm755 "${srcdir}"/ogis2svg.pl "${pkgdir}"/usr/bin/ogis2svg.pl
+ # add a symlink because the name of the script is a little confusing.
+ ln -sf /usr/bin/ogis2svg.pl "${pkgdir}"/usr/bin/shp2svg
+}