mirror of
https://github.com/archlinuxarm/PKGBUILDs.git
synced 2025-01-17 23:34:07 +00:00
29 lines
847 B
Bash
29 lines
847 B
Bash
# $Id: PKGBUILD 82 2009-07-17 19:56:55Z aaron $
|
|
# Contributor: dibblethewrecker dibblethewrecker.at.jiwe.dot.org
|
|
|
|
pkgname=gpsmanshp
|
|
pkgver=1.2
|
|
pkgrel=3
|
|
pkgdesc="A Tcl package to read and write shapefiles"
|
|
arch=('i686' 'x86_64')
|
|
url="http://www.ncc.up.pt/gpsmanshp"
|
|
license=('GPL')
|
|
depends=('bash' 'tcl' 'shapelib')
|
|
source=(http://www.ncc.up.pt/gpsmanshp/$pkgname\_$pkgver.tgz)
|
|
md5sums=('b32e16afe3e306cf991ea38713fd0c9e')
|
|
|
|
build() {
|
|
cd $startdir/src/$pkgname\_$pkgver
|
|
mv Makefile8.4.4 Makefile
|
|
|
|
mkdir -p $startdir/pkg/usr/lib/
|
|
|
|
# set install path
|
|
sed -i -e "s|/usr/lib/tcl\$(TCLVERSION)|$startdir/pkg/usr/lib/gpsmanshp|g" Makefile
|
|
sed -i -e "s|tclsh\$(TCLVERSION)|tclsh|g" Makefile
|
|
sed -i "s|package-8.3.tcl|/usr/lib/tcl8.5/package.tcl|g" Makefile
|
|
sed -i "s|8.4|8.5|g" Makefile
|
|
make || return 1
|
|
make install
|
|
}
|
|
# vim:syntax=sh
|