From 6346b35b09ebfa437a65cba08c2e9940587bc570 Mon Sep 17 00:00:00 2001 From: Peter Wang Date: Thu, 19 Dec 2019 15:27:02 +1100 Subject: [PATCH] tk: fix wish symlink --- srcpkgs/tk/template | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/srcpkgs/tk/template b/srcpkgs/tk/template index 8dd3f89c6e..e8c4f79b46 100644 --- a/srcpkgs/tk/template +++ b/srcpkgs/tk/template @@ -1,7 +1,7 @@ # Template file for 'tk' pkgname=tk version=8.6.10 -revision=2 +revision=3 wrksrc="tk${version}" build_wrksrc=unix build_style=gnu-configure @@ -21,7 +21,7 @@ shlib_provides="libtk8.6.so" do_install() { make INSTALL_ROOT=${DESTDIR} install install-private-headers - ln -s wish${version%.*.*} ${DESTDIR}/usr/bin/wish + ln -s $(basename ${DESTDIR}/usr/bin/wish*) ${DESTDIR}/usr/bin/wish vlicense ../license.terms LICENSE }