summaryrefslogtreecommitdiff
path: root/community/gen2shp
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/gen2shp
Tue Apr 5 14:26:38 UTC 2011
Diffstat (limited to 'community/gen2shp')
-rw-r--r--community/gen2shp/PKGBUILD26
1 files changed, 26 insertions, 0 deletions
diff --git a/community/gen2shp/PKGBUILD b/community/gen2shp/PKGBUILD
new file mode 100644
index 000000000..70b85e360
--- /dev/null
+++ b/community/gen2shp/PKGBUILD
@@ -0,0 +1,26 @@
+# $Id: PKGBUILD 21508 2010-07-16 14:17:42Z tdziedzic $
+# Contributor: dibblethewrecker dibblethewrecker.at.jiwe.dot.org
+
+pkgname=gen2shp
+pkgver=0.3.1
+pkgrel=5
+pkgdesc='Converts ArcInfo generate format to shapefile format'
+arch=('i686' 'x86_64')
+url='http://www.intevation.de/~jan/gen2shp/'
+license=('GPL')
+depends=('shapelib')
+source=("http://intevation.de/%7Ejan/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
+}