commit: 0e6a80483f9c8f6ab903e7f0d6b35dbbcf0ea610 Author: Tony Olagbaiye <bqv <AT> fron <DOT> io> AuthorDate: Wed May 18 15:16:11 2022 +0000 Commit: Tony Olagbaiye <gentoo <AT> fron <DOT> io> CommitDate: Wed May 18 15:16:11 2022 +0000 URL: https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=0e6a8048
sys-process/snooze: new package, add 0.5, 9999 Signed-off-by: Tony Olagbaiye <bqv <AT> fron.io> sys-process/snooze/Manifest | 1 + sys-process/snooze/snooze-0.5.ebuild | 1 + sys-process/snooze/snooze-9999.ebuild | 22 ++++++++++++++++++++++ 3 files changed, 24 insertions(+) diff --git a/sys-process/snooze/Manifest b/sys-process/snooze/Manifest new file mode 100644 index 000000000..406981ab9 --- /dev/null +++ b/sys-process/snooze/Manifest @@ -0,0 +1 @@ +DIST snooze-0.5.tar.gz 8008 BLAKE2B e83a14dc1effc429846d1877d15e81c9b0dab8c4583a7d0cebbd731b8565c215e5182ee0f017b5556ba6ac391063cf0f60156d4a8de1e0299d8381bd4319dc96 SHA512 889502e3bc1265fbac99e3af5f1023729b52299e358c87783c339f1cf3004e8c8ba26c7f8ff877c047d79c7c98c95e5ba1b3d5e833c8222d05a55d09804e7fb1 diff --git a/sys-process/snooze/snooze-0.5.ebuild b/sys-process/snooze/snooze-0.5.ebuild new file mode 120000 index 000000000..fff5de8a5 --- /dev/null +++ b/sys-process/snooze/snooze-0.5.ebuild @@ -0,0 +1 @@ +snooze-9999.ebuild \ No newline at end of file diff --git a/sys-process/snooze/snooze-9999.ebuild b/sys-process/snooze/snooze-9999.ebuild new file mode 100644 index 000000000..53b600639 --- /dev/null +++ b/sys-process/snooze/snooze-9999.ebuild @@ -0,0 +1,22 @@ +# Copyright 1999-2022 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +DESCRIPTION="Run a command at a particular time" +HOMEPAGE="https://github.com/leahneukirchen/${PN}" +if [[ "${PV}" = 9999 ]]; then + inherit git-r3 + EGIT_REPO_URI="${HOMEPAGE}.git" +else + SRC_URI="${HOMEPAGE}/archive/v${PV}.tar.gz -> ${P}.tar.gz" + KEYWORDS="amd64 x86" +fi + +LICENSE="CC0-1.0" +SLOT="0" + +src_install() { + emake DESTDIR="${D}" PREFIX=/usr install + dodoc {README,NEWS}.md +}
