void-packages/srcpkgs/bwidget/template

24 lines
770 B
Bash
Raw Normal View History

2013-05-22 11:54:16 +02:00
# Template file for 'bwidget'
pkgname=bwidget
2015-01-16 12:15:24 +01:00
version=1.9.8
revision=1
noarch=yes
makedepends="tk"
depends="${makedepends}"
2013-05-22 11:54:16 +02:00
short_desc="Set of extension widgets for Tcl/Tk"
maintainer="Juan RP <xtraeme@voidlinux.eu>"
2013-05-22 11:54:16 +02:00
homepage="http://tcllib.sourceforge.net/"
license="tcl/tk"
distfiles="${SOURCEFORGE_SITE}/tcllib/BWidget/$version/${pkgname}-${version}.tar.gz"
2015-01-16 12:15:24 +01:00
checksum=545016e3ee998991308f54d8ef26bbf16144ee50fa432b9100d37ef806bdb314
2013-05-22 11:59:16 +02:00
2013-05-22 11:54:16 +02:00
do_install() {
2013-05-22 11:59:16 +02:00
local _tclversion=8.6
2013-05-22 11:54:16 +02:00
vmkdir usr/lib/tcl8.6/BWidget
2014-06-09 07:32:25 +02:00
tar xzvf $XBPS_SRCDISTDIR/${pkgname}-${version}/$pkgname-$version.tar.gz -C $DESTDIR/usr/lib/tcl$_tclversion/
2013-05-22 11:54:16 +02:00
mv $DESTDIR/usr/lib/tcl$_tclversion/$pkgname-$version/* \
$DESTDIR/usr/lib/tcl$_tclversion/BWidget
rmdir $DESTDIR/usr/lib/tcl8.6/$pkgname-$version
}