void-packages/srcpkgs/bwidget/template

24 lines
756 B
Bash

# Template file for 'bwidget'
pkgname=bwidget
version=1.9.12
revision=1
makedepends="tk"
depends="tk"
short_desc="Set of extension widgets for Tcl/Tk"
maintainer="Juan RP <xtraeme@voidlinux.eu>"
homepage="http://tcllib.sourceforge.net/"
license="TCL"
distfiles="${SOURCEFORGE_SITE}/tcllib/BWidget/$version/${pkgname}-${version}.tar.gz"
checksum=2f682da93e07ff8cadd6c0580e7d4de3c8828134eab662dbe3d0e6ffc9443263
noarch=yes
do_install() {
local _tclversion=8.6
vmkdir usr/lib/tcl8.6/BWidget
tar 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
}