tktable: Change SourceForge mirror, disable -fPIC.

This commit is contained in:
Biswapriyo Nath
2021-05-07 09:49:29 +05:30
committed by GitHub
parent fd8f2356cf
commit dd4fbeaddf

View File

@@ -7,14 +7,15 @@ pkgbase=mingw-w64-${_realname}
pkgname="${MINGW_PACKAGE_PREFIX}-${_realname}"
_pkgnameactual=Tktable
pkgver=2.10
pkgrel=4
pkgrel=5
pkgdesc="A full-featured 2D table widget for Tk (mingw-w64)"
arch=('any')
mingw_arch=('mingw32' 'mingw64' 'ucrt64' 'clang64')
url="https://tktable.sourceforge.io/"
license=('custom')
depends=("${MINGW_PACKAGE_PREFIX}-tk")
source=("https://sourceforge.net/projects/tktable/files/${_realname}/${pkgver}/${_pkgnameactual}${pkgver}.tar.gz"
#"https://sourceforge.net/projects/tktable/files/${_realname}/${pkgver}/${_pkgnameactual}${pkgver}.tar.gz"
source=("https://pilotfiber.dl.sourceforge.net/project/tktable/tktable/${pkgver}/Tktable${pkgver}.tar.gz"
001-fix-detect-mingw.patch)
sha256sums=('c335117fa1be45fe4d3032e96fd4b4641fff6a4f8467878608dabed11198a4cb'
'1decff05ed2e09f62a44e1e6d15e32904f331e83c4e1170f5f1140f7d9f9bb1f')
@@ -23,6 +24,9 @@ prepare() {
cd ${_pkgnameactual}${pkgver}
patch -p1 -i ${srcdir}/001-fix-detect-mingw.patch
# For clang
sed -i "s/-fPIC//g" tclconfig/tcl.m4
autoreconf -fiv
}