summaryrefslogtreecommitdiff
path: root/community/gen2shp
diff options
context:
space:
mode:
authorroot <root@rshg054.dnsready.net>2013-08-13 01:33:19 -0700
committerroot <root@rshg054.dnsready.net>2013-08-13 01:33:19 -0700
commit7a65a910b77ad191d69881098c47f9b0c852d92e (patch)
tree9564e611af1442f8952a8cbddb3b0ad25ed71aab /community/gen2shp
parent60da6abff6c9577a783d72865f11de7a585e912e (diff)
Tue Aug 13 01:31:08 PDT 2013
Diffstat (limited to 'community/gen2shp')
-rw-r--r--community/gen2shp/PKGBUILD27
1 files changed, 27 insertions, 0 deletions
diff --git a/community/gen2shp/PKGBUILD b/community/gen2shp/PKGBUILD
new file mode 100644
index 000000000..2c18205d6
--- /dev/null
+++ b/community/gen2shp/PKGBUILD
@@ -0,0 +1,27 @@
+# $Id: PKGBUILD 91621 2013-05-25 12:05:10Z bpiotrowski $
+# Maintainer: Federico Cinelli <cinelli@aur.archlinux.org>
+# Contributor: dibblethewrecker dibblethewrecker.at.jiwe.dot.org
+
+pkgname=gen2shp
+pkgver=0.3.1
+pkgrel=8
+pkgdesc='Converts ArcInfo generate format to shapefile format'
+arch=('i686' 'x86_64')
+url='http://www.intevation.de/~jan/gen2shp/'
+license=('GPL')
+depends=('glibc' 'shapelib')
+source=("http://web.archive.org/web/20110716144136/http://intevation.de/~jan/gen2shp/$pkgname-$pkgver.tar.gz")
+md5sums=('1cf9f1c2097825ef96290f7e9a7eb195')
+
+build() {
+ cd "$pkgname-$pkgver"
+
+ # fix conflicting function names
+ sed -i 's/getline/get_line/' gen2shp.c utils.c utils.h
+
+ make
+}
+
+package() {
+ install -D "$pkgname-$pkgver/gen2shp" "$pkgdir/usr/bin/gens2shp"
+}