Diff tkcon-2.5-r1 with a tkcon-2.7.3

/usr/portage/dev-tcltk/tkcon/tkcon-2.7.3.ebuild 2023-10-09 14:52:30.904368386 +0300
5 5

  
6 6
DESCRIPTION="Tk GUI console"
7 7
HOMEPAGE="http://tkcon.sourceforge.net/"
8
SRC_URI="mirror://sourceforge/${PN}/${P}.tar.gz"
8
SRC_URI="https://github.com/wjoye/${PN}/archive/v${PV}.tar.gz ->
9
	${P}.tar.gz"
9 10

  
10 11
LICENSE="GPL-2"
11 12
KEYWORDS="~amd64 ~ppc ~x86"
......
15 16
DEPEND="dev-lang/tk:*"
16 17
RDEPEND="${DEPEND}"
17 18

  
19
RESTRICT="test"
20

  
18 21
src_prepare() {
19 22
	default
20 23
	mv docs/changes.txt CHANGES
......
22 25

  
23 26
src_install() {
24 27
	local tclver="$(echo 'puts $tcl_version' | tclsh)"
25
	local instdir=/usr/$(get_libdir)/tcl${tclver}/${PN}2.5
28
	local instdir=/usr/$(get_libdir)/tcl${tclver}/${PN}$(ver_cut 1-2)
26 29
	dodir ${instdir}
27 30
	cp -pP pkgIndex.tcl tkcon.tcl "${D}"${instdir} || die
28 31
	dodir /usr/bin
Thank you!