summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSam James <sam@gentoo.org>2021-03-04 07:51:49 +0000
committerSam James <sam@gentoo.org>2021-03-05 18:00:38 +0000
commit16388e7a664c8e2afb2fc117a5c5e1fb1bf20394 (patch)
tree2d42ddb6f59ce686d4b879bc87ca8a995a68a4df /app-shells
parentapp-laptop/dispad: fix ObsoleteUri (diff)
downloadgentoo-16388e7a664c8e2afb2fc117a5c5e1fb1bf20394.tar.gz
gentoo-16388e7a664c8e2afb2fc117a5c5e1fb1bf20394.tar.bz2
gentoo-16388e7a664c8e2afb2fc117a5c5e1fb1bf20394.zip
app-shells/localshell: port to EAPI 7 (fix DeprecatedEclass)
Signed-off-by: Sam James <sam@gentoo.org>
Diffstat (limited to 'app-shells')
-rw-r--r--app-shells/localshell/localshell-1.3.4-r1.ebuild12
1 files changed, 6 insertions, 6 deletions
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() {