summaryrefslogtreecommitdiff
path: root/community/gen2shp/PKGBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'community/gen2shp/PKGBUILD')
-rw-r--r--community/gen2shp/PKGBUILD11
1 files changed, 6 insertions, 5 deletions
diff --git a/community/gen2shp/PKGBUILD b/community/gen2shp/PKGBUILD
index ce863bc74..fa57860f3 100644
--- a/community/gen2shp/PKGBUILD
+++ b/community/gen2shp/PKGBUILD
@@ -1,4 +1,5 @@
-# $Id: PKGBUILD 66526 2012-02-25 23:23:48Z lfleischer $
+# $Id: PKGBUILD 85542 2013-03-03 01:59:29Z cinelli $
+# Maintainer: Federico Cinelli <cinelli@aur.archlinux.org>
# Contributor: dibblethewrecker dibblethewrecker.at.jiwe.dot.org
pkgname=gen2shp
@@ -8,12 +9,12 @@ 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")
+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}
+ cd "$pkgname-$pkgver"
# fix conflicting function names
sed -i 's/getline/get_line/' gen2shp.c utils.c utils.h
@@ -22,5 +23,5 @@ build() {
}
package() {
- install -D ${pkgname}-${pkgver}/gen2shp ${pkgdir}/usr/bin/gens2shp
+ install -D "$pkgname-$pkgver/gen2shp" "$pkgdir/usr/bin/gens2shp"
}