mirror of
https://github.com/archlinuxarm/PKGBUILDs.git
synced 2024-12-08 23:03:46 +00:00
23 lines
822 B
Bash
23 lines
822 B
Bash
# $Id: PKGBUILD 82 2009-07-17 19:56:55Z aaron $
|
|
# Contributor: dibblethewrecker dibblethewrecker.at.jiwe.dot.org
|
|
|
|
pkgname=tkgm_util
|
|
pkgver=2.1
|
|
pkgrel=2
|
|
pkgdesc="Programs for use with Tkgeomap"
|
|
arch=('i686' 'x86_64')
|
|
url="http://www.tkgeomap.org/"
|
|
license=('GPL')
|
|
depends=('tkgeomap' 'tclgeomap')
|
|
source=(http://dl.maptools.org/dl/shapelib/shapelib-1.2.10.tar.gz \
|
|
http://downloads.sourceforge.net/sourceforge/tkgeomap/$pkgname-$pkgver.tar.gz)
|
|
md5sums=('4d96bd926167193d27bf14d56e2d484e' '8c0e657be7e65e748ba594c55293f850')
|
|
|
|
build() {
|
|
cd $startdir/src/$pkgname-$pkgver
|
|
sed -i "s|SHAPE_DIR = \$(HOME)/shape/shapelib-1.2.10|SHAPE_DIR = $startdir/src/shapelib-1.2.10|g" ./Makefile
|
|
sed -i "s|PREFIX = \`getprefix\`|PREFIX = $startdir/pkg/usr|g" ./Makefile
|
|
make || return 1
|
|
make install || return 1
|
|
}
|
|
# vim:syntax=sh
|