commit: bcef84cc6d15fe121665ba0326540cc721a679a2
Author: Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Thu Jul 14 08:50:18 2022 +0000
Commit: Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Thu Jul 14 09:25:43 2022 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=bcef84cc
app-misc/plod: update EAPI 6 -> 8
Signed-off-by: Sam James <sam <AT> gentoo.org>
.../plod/{plod-1.9-r2.ebuild => plod-1.9-r3.ebuild} | 19 ++++++++++---------
1 file changed, 10 insertions(+), 9 deletions(-)
diff --git a/app-misc/plod/plod-1.9-r2.ebuild b/app-misc/plod/plod-1.9-r3.ebuild
similarity index 64%
rename from app-misc/plod/plod-1.9-r2.ebuild
rename to app-misc/plod/plod-1.9-r3.ebuild
index 10ebf32c09e9..5c24b32bc242 100644
--- a/app-misc/plod/plod-1.9-r2.ebuild
+++ b/app-misc/plod/plod-1.9-r3.ebuild
@@ -1,29 +1,30 @@
-# Copyright 1999-2017 Gentoo Foundation
+# Copyright 1999-2022 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
-EAPI=6
+EAPI=8
DESCRIPTION="A tool to help administrators keep track of daily activities"
-HOMEPAGE="http://www.deer-run.com/~hal/"
+HOMEPAGE="https://www.deer-run.com/~hal/"
SRC_URI="http://www.far2wise.net/plod/${P}.tar.gz"
LICENSE="|| ( Artistic GPL-2 )"
SLOT="0"
KEYWORDS="amd64 ppc x86"
-DEPEND="dev-lang/perl"
+BDEPEND="dev-lang/perl"
src_unpack() {
default
- # Bug 619934. Change directories first to ensure that "unpack" outputs
+ # Bug #619934. Change directories first to ensure that "unpack" outputs
# to ${S} and not to ${WORKDIR}.
cd "${S}" || die
- unpack "${S}/${PN}.1.gz"
+ unpack "${S}"/${PN}.1.gz
}
src_prepare() {
default
+
sed -i -e 's#/usr/local#/usr#' "${PN}" || die
}
@@ -32,11 +33,11 @@ src_compile() {
}
src_install() {
- dobin "${PN}"
- doman "${PN}.1"
+ dobin ${PN}
+ doman ${PN}.1
insinto /etc
- doins "${FILESDIR}/${PN}rc"
+ doins "${FILESDIR}"/${PN}rc
dodoc README TODO
}