From 16388e7a664c8e2afb2fc117a5c5e1fb1bf20394 Mon Sep 17 00:00:00 2001 From: Sam James Date: Thu, 4 Mar 2021 07:51:49 +0000 Subject: app-shells/localshell: port to EAPI 7 (fix DeprecatedEclass) Signed-off-by: Sam James --- app-shells/localshell/localshell-1.3.4-r1.ebuild | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) (limited to 'app-shells/localshell') diff --git a/app-shells/localshell/localshell-1.3.4-r1.ebuild b/app-shells/localshell/localshell-1.3.4-r1.ebuild index f2c8e8a51be3..da410e6062f8 100644 --- a/app-shells/localshell/localshell-1.3.4-r1.ebuild +++ b/app-shells/localshell/localshell-1.3.4-r1.ebuild @@ -1,9 +1,7 @@ -# Copyright 1999-2019 Gentoo Authors +# Copyright 1999-2021 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 -EAPI=5 - -inherit base eutils +EAPI=7 DESCRIPTION="Localshell allows per-user/group local control of shell execution" HOMEPAGE="http://git.orbis-terrarum.net/?p=infrastructure/localshellc.git;a=summary" @@ -12,7 +10,6 @@ SRC_URI="http://git.orbis-terrarum.net/?p=infrastructure/localshellc.git;a=summa LICENSE="GPL-2" SLOT="0" KEYWORDS="amd64 ppc ~ppc64 x86" -IUSE="" src_configure() { # this is a shell, it needs to be in /bin @@ -21,7 +18,10 @@ src_configure() { src_install() { emake install DESTDIR="${D}" - rm -f "${D}"/usr/share/doc/${PF}/{COPYING,INSTALL} + + mv "${ED}"/usr/share/doc/${P}/ "${ED}"/usr/share/doc/${PF} || die + + rm -f "${D}"/usr/share/doc/${PF}/{COPYING,INSTALL} || die } pkg_postinst() { -- cgit v1.2.3-65-gdbad