updated on Tue Jan 10 04:01:21 UTC 2012
[aur-mirror.git] / tkgm_util / PKGBUILD
blobb3d2e867fd7da66e3047d57a5dec776d37b4c63f
1 # Contributor: dibblethewrecker dibblethewrecker.at.jiwe.dot.org
3 pkgname=tkgm_util
4 pkgver=2.1
5 pkgrel=3
6 pkgdesc="Programs for use with Tkgeomap"
7 arch=('i686' 'x86_64')
8 url="http://www.tkgeomap.org/"
9 license=('GPL')
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')
15 build() {
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
19   make || return 1
20   make install || return 1
21   mv $pkgdir/usr/man $pkgdir/usr/share/
23 # vim:syntax=sh