[arch-commits] Commit in gen2shp/repos (2 files)
Felix Yan
felixonmars at archlinux.org
Tue Jul 7 12:44:05 UTC 2020
Date: Tuesday, July 7, 2020 @ 12:44:05
Author: felixonmars
Revision: 658212
archrelease: copy trunk to community-staging-x86_64
Added:
gen2shp/repos/community-staging-x86_64/
gen2shp/repos/community-staging-x86_64/PKGBUILD
(from rev 658210, gen2shp/trunk/PKGBUILD)
----------+
PKGBUILD | 28 ++++++++++++++++++++++++++++
1 file changed, 28 insertions(+)
Copied: gen2shp/repos/community-staging-x86_64/PKGBUILD (from rev 658210, gen2shp/trunk/PKGBUILD)
===================================================================
--- community-staging-x86_64/PKGBUILD (rev 0)
+++ community-staging-x86_64/PKGBUILD 2020-07-07 12:44:05 UTC (rev 658212)
@@ -0,0 +1,28 @@
+# Maintainer: Federico Cinelli <cinelli at aur.archlinux.org>
+# Contributor: dibblethewrecker dibblethewrecker.at.jiwe.dot.org
+
+pkgname=gen2shp
+pkgver=0.3.1
+pkgrel=12
+pkgdesc='Converts ArcInfo generate format to shapefile format'
+arch=('x86_64')
+url='http://www.intevation.de/~jan/gen2shp/'
+license=('GPL')
+depends=('glibc' 'shapelib')
+source=("https://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
+ sed -i 's:libshp/::' gen2shp.c
+ sed -i 's/-lshp gen2shp.c utils.o/gen2shp.c utils.o -lshp/' Makefile
+ make CFLAGS="$CFLAGS"
+
+}
+
+package() {
+ install -D "$pkgname-$pkgver/gen2shp" "$pkgdir/usr/bin/gens2shp"
+}
More information about the arch-commits
mailing list