void-packages/srcpkgs/bwidget/template
maxice8 762d900f36 bwidget: update to 1.9.11.
Closes: #8091 [via git-merge-pr]
2017-10-15 15:41:10 -07:00

23 lines
771 B
Bash

# Template file for 'bwidget'
pkgname=bwidget
version=1.9.11
revision=1
noarch=yes
makedepends="tk"
depends="${makedepends}"
short_desc="Set of extension widgets for Tcl/Tk"
maintainer="Juan RP <xtraeme@voidlinux.eu>"
homepage="http://tcllib.sourceforge.net/"
license="tcl/tk"
distfiles="${SOURCEFORGE_SITE}/tcllib/BWidget/$version/${pkgname}-${version}.tar.gz"
checksum=448a1db08a4ca477ce339dfe592fd85c4c0649c3ff554fb4e86d6826d39bc8b9
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
}