diff options
author | Sam James <sam@gentoo.org> | 2022-07-14 09:50:18 +0100 |
---|---|---|
committer | Sam James <sam@gentoo.org> | 2022-07-14 10:25:43 +0100 |
commit | bcef84cc6d15fe121665ba0326540cc721a679a2 (patch) | |
tree | 0bbbb7b3a61d7d6e3a7ac9519e637c58ba334512 /app-misc/plod/plod-1.9-r3.ebuild | |
parent | profiles: last-rite sci-visualization/opendx (diff) | |
download | gentoo-bcef84cc6d15fe121665ba0326540cc721a679a2.tar.gz gentoo-bcef84cc6d15fe121665ba0326540cc721a679a2.tar.bz2 gentoo-bcef84cc6d15fe121665ba0326540cc721a679a2.zip |
app-misc/plod: update EAPI 6 -> 8
Signed-off-by: Sam James <sam@gentoo.org>
Diffstat (limited to 'app-misc/plod/plod-1.9-r3.ebuild')
-rw-r--r-- | app-misc/plod/plod-1.9-r3.ebuild | 43 |
1 files changed, 43 insertions, 0 deletions
diff --git a/app-misc/plod/plod-1.9-r3.ebuild b/app-misc/plod/plod-1.9-r3.ebuild new file mode 100644 index 000000000000..5c24b32bc242 --- /dev/null +++ b/app-misc/plod/plod-1.9-r3.ebuild @@ -0,0 +1,43 @@ +# Copyright 1999-2022 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DESCRIPTION="A tool to help administrators keep track of daily activities" +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" + +BDEPEND="dev-lang/perl" + +src_unpack() { + default + + # Bug #619934. Change directories first to ensure that "unpack" outputs + # to ${S} and not to ${WORKDIR}. + cd "${S}" || die + unpack "${S}"/${PN}.1.gz +} + +src_prepare() { + default + + sed -i -e 's#/usr/local#/usr#' "${PN}" || die +} + +src_compile() { + :; +} + +src_install() { + dobin ${PN} + doman ${PN}.1 + + insinto /etc + doins "${FILESDIR}"/${PN}rc + + dodoc README TODO +} |