23 lines
761 B
Bash
23 lines
761 B
Bash
# Template file for 'bwidget'
|
|
pkgname=bwidget
|
|
version=1.9.13
|
|
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=76d8f42280e7160242186d12437949830eabd5009a6c14f4e7dba0f661403a81
|
|
|
|
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
|
|
}
|