mirror of
https://github.com/archlinuxarm/PKGBUILDs.git
synced 2024-12-08 23:03:46 +00:00
32 lines
1.1 KiB
Bash
32 lines
1.1 KiB
Bash
# $Id: PKGBUILD 82 2009-07-17 19:56:55Z aaron $
|
|
# Contributor: dibblethewrecker dibblethewrecker.at.jiwe.dot.org
|
|
|
|
pkgname=tkgeomap
|
|
pkgver=2.11.3
|
|
pkgrel=1
|
|
pkgdesc="A set of extensions to the Tcl/Tk scripting language. It adds commands that read, \
|
|
manipulate, and display geographic data."
|
|
arch=('i686' 'x86_64')
|
|
url="http://www.tkgeomap.org/"
|
|
license=('GPL' 'custom')
|
|
depends=('tclgeomap' 'tk')
|
|
source=(http://downloads.sourceforge.net/sourceforge/tkgeomap/$pkgname-$pkgver.tar.gz)
|
|
md5sums=('6fa1e411a311aec8b99886d952bf33ab')
|
|
|
|
build() {
|
|
cd $startdir/src/$pkgname-$pkgver/unix
|
|
./configure --prefix=$startdir/pkg/usr --with-tclgeomap=/usr/lib \
|
|
--with-tclgeomap-include=/usr/include/tclgeomap
|
|
make || return 1
|
|
make install
|
|
|
|
# remove /usr/bin which is empty
|
|
rm -r $startdir/pkg/usr/bin
|
|
|
|
# install license
|
|
cd $startdir/src/$pkgname-$pkgver
|
|
install -D -m644 COPYING $startdir/pkg/usr/share/licenses/$pkgname/COPYING
|
|
install -D -m644 OpenSoftwareLicense $startdir/pkg/usr/share/licenses/$pkgname/OpenSoftwareLicense
|
|
install -D -m644 license.terms $startdir/pkg/usr/share/licenses/$pkgname/license.terms
|
|
}
|
|
# vim:syntax=sh
|