# Maintainer: Gabriel Souza Franco # Contributor: Sergej Pupykin # Contributor: dtw # Contributor: Mathieu Gauthier # Contributor: Pawel Bogur pkgname=tcllib pkgver=1.21 pkgrel=1 pkgdesc="Set of pure-Tcl extensions." arch=('any') url="http://core.tcl.tk/tcllib/" license=('bsd') depends=('tcl') source=("https://core.tcl-lang.org/tcllib/uv/tcllib-$pkgver.tar.gz") sha256sums=('46b2bb5ec8049363ae01645af11bda3bdb5db10629e807d81d1ad46cd1bead50') package(){ cd "$srcdir"/tcllib-$pkgver tclsh installer.tcl -pkg-path "$pkgdir"/usr/lib/tcllib \ -app-path "$pkgdir"/usr/bin \ -nroff-path "$pkgdir"/usr/share/man/mann \ -no-examples -no-html \ -no-wait -no-gui install -Dm644 license.terms "$pkgdir"/usr/share/licenses/$pkgname/COPYING for manp in graph; do mv "$pkgdir"/usr/share/man/mann/{,tcllib-}$manp.n done }