[crux-commits] ports/contrib (refs/remotes/origin/3.6): tk: 8.6.11 -> 8.6.11.1

crux at crux.nu crux at crux.nu
Sat Apr 10 19:06:01 UTC 2021


commit ea57f8b042c23f00ef2328de92132eab6ab39b65
Author: Danny Rawlins <contact at romster.me>
Date:   Sun Jan 24 20:08:09 2021 +1100

    tk: 8.6.11 -> 8.6.11.1

diff --git a/tk/.signature b/tk/.signature
index 3db8b46dc..e8966acf1 100644
--- a/tk/.signature
+++ b/tk/.signature
@@ -1,5 +1,5 @@
 untrusted comment: verify with /etc/ports/contrib.pub
-RWSagIOpLGJF32wiBtkMKZJGPAUNNEQZY6q1Tl2HAoN4Fen9wNb83utbDmmim7BJ533eND0zomok5qzq0Vtps/MdvY9DzBkL4AI=
-SHA256 (Pkgfile) = 78f0ad22d434b109b1df4bdb010317cc508395130ae2b32795e4a8f2fba0815e
+RWSagIOpLGJF3xoZfwfjC83J+iEPACuty43Zv52r+LHxwIQDKTNadjs0xoNcwaSRtIwma/Nyrdfott3yMIW3s48S859BdXQMPQI=
+SHA256 (Pkgfile) = e1c267f131f82b3d61781755a977de8557e39c9fe05b4dba9a004ea4fb313219
 SHA256 (.footprint) = eb4ef349c4d3aeea3deafbccb6dbcc495f79dab79787983823f0bd371764923b
-SHA256 (tk8.6.11-src.tar.gz) = 5228a8187a7f70fa0791ef0f975270f068ba9557f57456f51eb02d9d4ea31282
+SHA256 (tk8.6.11.1-src.tar.gz) = 006cab171beeca6a968b6d617588538176f27be232a2b334a0e96173e89909be
diff --git a/tk/Pkgfile b/tk/Pkgfile
index 8ee7a0cd9..2b491f6a4 100644
--- a/tk/Pkgfile
+++ b/tk/Pkgfile
@@ -4,12 +4,13 @@
 # Depends on: xorg-libxft tcl
 
 name=tk
-version=8.6.11
+version=8.6.11.1
+_version=${version%.*}
 release=1
-source=(https://downloads.sourceforge.net/project/tcl/Tcl/$version/$name$version-src.tar.gz)
+source=(https://downloads.sourceforge.net/project/tcl/Tcl/$_version/$name$version-src.tar.gz)
 
 build() {
-	cd $name$version/unix
+	cd $name$_version/unix
 
 	./configure \
 		--prefix=/usr \
@@ -28,16 +29,16 @@ build() {
 
 	# remove $SRC traces
 	sed \
-		-e "s|$SRC/tk$version/unix|/usr/lib|g" \
-		-e "s|$SRC/tk$version|/usr/include|g" \
+		-e "s|$SRC/tk$_version/unix|/usr/lib|g" \
+		-e "s|$SRC/tk$_version|/usr/include|g" \
 		-i $PKG/usr/lib/tkConfig.sh
 
-	rm -r $PKG/usr/lib/tk${version%.*}/demos
-	rm $PKG/usr/lib/tk${version%.*}/images/README
+	rm -r $PKG/usr/lib/tk${_version%.*}/demos
+	rm $PKG/usr/lib/tk${_version%.*}/images/README
 
-	ln -s wish${version%.*} $PKG/usr/bin/wish
-	ln -s libtk${version%.*}.so $PKG/usr/lib/libtk.so
-	ln -s libtkstub${version%.*}.a $PKG/usr/lib/libtkstub.a
+	ln -s wish${_version%.*} $PKG/usr/bin/wish
+	ln -s libtk${_version%.*}.so $PKG/usr/lib/libtk.so
+	ln -s libtkstub${_version%.*}.a $PKG/usr/lib/libtkstub.a
 
 	chmod -R u+w $PKG/usr/share/man
 }


More information about the crux-commits mailing list