commit: 0fd9c4b73d433b55964865b27a8555878b884b01 Author: David Seifert <soap <AT> gentoo <DOT> org> AuthorDate: Sun Nov 20 23:55:55 2022 +0000 Commit: David Seifert <soap <AT> gentoo <DOT> org> CommitDate: Sun Nov 20 23:55:55 2022 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=0fd9c4b7
app-text/tkinfo: update EAPI 6 -> 8 Signed-off-by: David Seifert <soap <AT> gentoo.org> .../{tkinfo-2.8-r1.ebuild => tkinfo-2.8-r2.ebuild} | 16 ++++++---------- 1 file changed, 6 insertions(+), 10 deletions(-) diff --git a/app-text/tkinfo/tkinfo-2.8-r1.ebuild b/app-text/tkinfo/tkinfo-2.8-r2.ebuild similarity index 66% rename from app-text/tkinfo/tkinfo-2.8-r1.ebuild rename to app-text/tkinfo/tkinfo-2.8-r2.ebuild index 25b60f40b1ef..97256a448ef4 100644 --- a/app-text/tkinfo/tkinfo-2.8-r1.ebuild +++ b/app-text/tkinfo/tkinfo-2.8-r2.ebuild @@ -1,7 +1,7 @@ -# Copyright 1999-2020 Gentoo Authors +# Copyright 1999-2022 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 -EAPI=6 +EAPI=8 DESCRIPTION="Info Browser in TK" HOMEPAGE="http://math-www.uni-paderborn.de/~axel/tkinfo/" @@ -12,18 +12,14 @@ SLOT="0" KEYWORDS="~alpha amd64 ~hppa ~ia64 ppc sparc x86" RDEPEND="dev-lang/tk" -DEPEND="sys-apps/sed" - -DOCS=( README ) src_prepare() { default - sed -i \ - -e "1 s:^.*:#!/usr/bin/wish:" tkinfo || \ - die "sed tkinfo failed" + sed -e "1 s:^.*:#!/usr/bin/env wish:" \ + -i tkinfo || die "sed tkinfo failed" } src_install() { - dobin "${PN}" - doman "${PN}.1" + dobin tkinfo + doman tkinfo.1 }