mirror of
https://github.com/archlinuxarm/PKGBUILDs.git
synced 2024-11-28 22:57:37 +00:00
39 lines
1.2 KiB
Bash
39 lines
1.2 KiB
Bash
# $Id: PKGBUILD 82 2009-07-17 19:56:55Z aaron $
|
|
# Maintainer: dtw <dibble.at.thewrecker.dot.net>
|
|
# Contributor: Mathieu Gauthier <mathgl@freesurf.fr>
|
|
# Upgrade to ver. 1.8 - Pawel Bogur <jid:smeagol@uaznia.net>
|
|
|
|
pkgname=tcllib
|
|
pkgver=1.11.1
|
|
pkgrel=1
|
|
pkgdesc="Set of pure-Tcl extensions."
|
|
arch=('i686' 'x86_64')
|
|
url="http://tcllib.sourceforge.net/"
|
|
license=('bsd')
|
|
depends=('tcl')
|
|
source=(http://downloads.sourceforge.net/sourceforge/tcllib/tcllib-$pkgver.tar.gz)
|
|
|
|
build(){
|
|
cd $startdir/src/$pkgname-$pkgver
|
|
|
|
_PREFIX=$startdir/pkg
|
|
_TCLSH="/usr/bin/tclsh"
|
|
if [ ! -x $_TCLSH ]
|
|
then
|
|
msg "Tclsh was not found at $TCLSH. Search in /"
|
|
_TCLSH=$(find / -name tclsh 2> /dev/null)
|
|
fi
|
|
|
|
if [ -x $_TCLSH ]
|
|
then
|
|
$_TCLSH `echo installer.tcl` -pkg-path $_PREFIX/usr/lib/tcllib \
|
|
-app-path $_PREFIX/usr/bin \
|
|
-nroff-path $_PREFIX/usr/share/man/mann \
|
|
-no-examples -no-html \
|
|
-no-wait -no-gui
|
|
fi
|
|
mkdir -p $startdir/pkg/usr/share/licenses/$pkgname/
|
|
cp $startdir/src/$pkgname-$pkgver/license.terms \
|
|
$startdir/pkg/usr/share/licenses/$pkgname/COPYING
|
|
}
|
|
md5sums=('53a4669f80d579124a93200825c4c2e8')
|