1 # Contributor: dibblethewrecker dibblethewrecker.at.jiwe.dot.org
6 pkgdesc="Programs for use with Tkgeomap"
8 url="http://www.tkgeomap.org/"
10 depends=('tkgeomap' 'tclgeomap')
11 source=(http://dl.maptools.org/dl/shapelib/shapelib-1.2.10.tar.gz \
12 http://downloads.sourceforge.net/sourceforge/tkgeomap/$pkgname-$pkgver.tar.gz)
13 md5sums=('4d96bd926167193d27bf14d56e2d484e' '8c0e657be7e65e748ba594c55293f850')
16 cd $startdir/src/$pkgname-$pkgver
17 sed -i "s|SHAPE_DIR = \$(HOME)/shape/shapelib-1.2.10|SHAPE_DIR = $startdir/src/shapelib-1.2.10|g" ./Makefile
18 sed -i "s|PREFIX = \`getprefix\`|PREFIX = $startdir/pkg/usr|g" ./Makefile
20 make install || return 1
21 mv $pkgdir/usr/man $pkgdir/usr/share/