| # Based on Arch's PKGBUILD |
| |
| _realname=bwidget |
| pkgbase=mingw-w64-${_realname} |
| pkgname=${MINGW_PACKAGE_PREFIX}-${_realname} |
| pkgver=1.9.14 |
| pkgrel=1 |
| pkgdesc='A companion to Tcllib, for Tk related packages (mingw-w64)' |
| arch=('any') |
| mingw_arch=('mingw32' 'mingw64' 'ucrt64' 'clang64' 'clang32') |
| url='https://core.tcl.tk/bwidget/home' |
| license=('BSD') |
| depends=("${MINGW_PACKAGE_PREFIX}-tk") |
| source=("https://downloads.sourceforge.net/project/tcllib/BWidget/${pkgver}/bwidget-${pkgver}.tar.gz") |
| sha256sums=('8e9692140167161877601445e7a5b9da5bb738ce8d08ee99b016629bc784a672') |
| |
| package() { |
| _dest=${pkgdir}/${MINGW_PREFIX}/lib |
| mkdir -p ${_dest} |
| cd ${srcdir} |
| cp -r bwidget-${pkgver} "${_dest}" |
| _bwdir=${_dest}/bwidget-${pkgver} |
| cd ${_bwdir} |
| rm -rf .fslckout Changelog tests demo |
| } |