void-packages/srcpkgs/bwidget/template

24 lines
764 B
Bash

# Template file for 'bwidget'
pkgname=bwidget
version=1.9.14
revision=1
archs=noarch
makedepends="tk"
depends="tk"
short_desc="Set of extension widgets for Tcl/Tk"
maintainer="Orphaned <orphan@voidlinux.org>"
license="TCL"
homepage="http://tcllib.sourceforge.net/"
distfiles="${SOURCEFORGE_SITE}/tcllib/BWidget/${version}/${pkgname}-${version}.tar.gz"
checksum=531a6ecfa33114471dd58b0bedd5f9ff6f311c792fc1a030d8e454c5ebb5d44e
do_install() {
local _tclversion=8.6
vmkdir usr/lib/tcl8.6/BWidget
bsdtar xzvf $XBPS_SRCDISTDIR/${pkgname}-${version}/$pkgname-$version.tar.gz -C $DESTDIR/usr/lib/tcl$_tclversion/
mv $DESTDIR/usr/lib/tcl$_tclversion/$pkgname-$version/* \
$DESTDIR/usr/lib/tcl$_tclversion/BWidget
rmdir $DESTDIR/usr/lib/tcl8.6/$pkgname-$version
}