[arch-commits] Commit in tcl/trunk (PKGBUILD)

Antonio Rojas arojas at gemini.archlinux.org
Sun Dec 19 15:24:57 UTC 2021


    Date: Sunday, December 19, 2021 @ 15:24:57
  Author: arojas
Revision: 432781

Fix tclConfig further

Modified:
  tcl/trunk/PKGBUILD

----------+
 PKGBUILD |    5 +++--
 1 file changed, 3 insertions(+), 2 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2021-12-19 13:29:46 UTC (rev 432780)
+++ PKGBUILD	2021-12-19 15:24:57 UTC (rev 432781)
@@ -2,7 +2,7 @@
 
 pkgname=tcl
 pkgver=8.6.12
-pkgrel=2
+pkgrel=3
 pkgdesc="Powerful, easy-to-learn dynamic programming language"
 arch=('x86_64')
 url="http://tcl.sourceforge.net/"
@@ -39,9 +39,10 @@
   chmod 644 "$pkgdir/usr/lib/libtclstub8.6.a"
 
   # remove buildroot traces
+  _tclver=8.6
   sed -e "s#${srcdir}/tcl${pkgver}/unix#/usr/lib#" \
       -e "s#${srcdir}/tcl${pkgver}#/usr/include#" \
-      -e "s#'{/usr/lib} '#'/usr/lib'#" \
+      -e "s#'{/usr/lib} '#'/usr/lib/tcl$_tclver'#" \
       -i "${pkgdir}/usr/lib/tclConfig.sh"
 
   tdbcver=tdbc1.1.3



More information about the arch-commits mailing list