# $Id: PKGBUILD 82 2009-07-17 19:56:55Z aaron $ # Maintainer: dtw # Contributor: Mathieu Gauthier # Upgrade to ver. 1.8 - Pawel Bogur 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')