blob: 70b85e360ffea8712d28513923e38fdb07952c2b (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
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
}
|