bwidget: set noarch; misc tweaks.
This commit is contained in:
parent
0595dc9c3c
commit
a676af5e4a
|
@ -1,18 +1,19 @@
|
|||
# Template file for 'bwidget'
|
||||
pkgname=bwidget
|
||||
version=1.9.6
|
||||
revision=1
|
||||
revision=2
|
||||
short_desc="Set of extension widgets for Tcl/Tk"
|
||||
maintainer="pancake <pancake@nopcode.org>"
|
||||
homepage="http://tcllib.sourceforge.net/"
|
||||
license="tcl/tk"
|
||||
distfiles="${SOURCEFORGE_SITE}/tcllib/BWidget/$version/${pkgname}-${version}.tar.gz"
|
||||
checksum=155e9cf2c6973956a0bbde450f2df358ce1eb97a2b2950d0681a36f861e67553
|
||||
depends="tk"
|
||||
|
||||
noextract=yes
|
||||
_tclversion=8.6
|
||||
|
||||
do_install() {
|
||||
local _tclversion=8.6
|
||||
|
||||
vmkdir usr/lib/tcl8.6/BWidget
|
||||
tar xzvf $XBPS_SRCDISTDIR/$pkgname-$version.tar.gz -C $DESTDIR/usr/lib/tcl$_tclversion/
|
||||
mv $DESTDIR/usr/lib/tcl$_tclversion/$pkgname-$version/* \
|
||||
|
@ -21,6 +22,8 @@ do_install() {
|
|||
}
|
||||
|
||||
bwidget_package() {
|
||||
noarch=yes
|
||||
depends="tk>=8.6"
|
||||
pkg_install() {
|
||||
vmove usr
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue