public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
From: "Tony Olagbaiye" <gentoo@fron.io>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/proj/guru:dev commit in: sys-process/snooze/
Date: Wed, 18 May 2022 19:49:39 +0000 (UTC)	[thread overview]
Message-ID: <1652902590.101320a44ad90548e7678e1fe9eab562e4d34ae0.gentoo@gentoo> (raw)

commit:     101320a44ad90548e7678e1fe9eab562e4d34ae0
Author:     Tony Olagbaiye <bqv <AT> fron <DOT> io>
AuthorDate: Wed May 18 19:36:30 2022 +0000
Commit:     Tony Olagbaiye <gentoo <AT> fron <DOT> io>
CommitDate: Wed May 18 19:36:30 2022 +0000
URL:        https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=101320a4

sys-process/snooze: simplify ebuilds

Signed-off-by: Tony Olagbaiye <bqv <AT> fron.io>

 sys-process/snooze/snooze-0.5.ebuild  | 18 +++++++++++++++++-
 sys-process/snooze/snooze-9999.ebuild | 10 +++-------
 2 files changed, 20 insertions(+), 8 deletions(-)

diff --git a/sys-process/snooze/snooze-0.5.ebuild b/sys-process/snooze/snooze-0.5.ebuild
deleted file mode 120000
index fff5de8a5..000000000
--- a/sys-process/snooze/snooze-0.5.ebuild
+++ /dev/null
@@ -1 +0,0 @@
-snooze-9999.ebuild
\ No newline at end of file

diff --git a/sys-process/snooze/snooze-0.5.ebuild b/sys-process/snooze/snooze-0.5.ebuild
new file mode 100644
index 000000000..19a93cb6c
--- /dev/null
+++ b/sys-process/snooze/snooze-0.5.ebuild
@@ -0,0 +1,17 @@
+# 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}"
+SRC_URI="${HOMEPAGE}/archive/v${PV}.tar.gz -> ${P}.tar.gz"
+KEYWORDS="~amd64 ~x86"
+
+LICENSE="CC0-1.0"
+SLOT="0"
+
+src_install() {
+	emake DESTDIR="${D}" PREFIX=/usr install
+	dodoc {README,NEWS}.md
+}

diff --git a/sys-process/snooze/snooze-9999.ebuild b/sys-process/snooze/snooze-9999.ebuild
index 53b600639..204622917 100644
--- a/sys-process/snooze/snooze-9999.ebuild
+++ b/sys-process/snooze/snooze-9999.ebuild
@@ -5,13 +5,9 @@ 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
+
+inherit git-r3
+EGIT_REPO_URI="${HOMEPAGE}.git"
 
 LICENSE="CC0-1.0"
 SLOT="0"


             reply	other threads:[~2022-05-18 19:49 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-05-18 19:49 Tony Olagbaiye [this message]
  -- strict thread matches above, loose matches on Subject: below --
2024-10-19 10:22 [gentoo-commits] repo/proj/guru:dev commit in: sys-process/snooze/ Takuya Wakazono
2024-05-15  0:59 Julien Roy
2022-05-24 19:07 [gentoo-commits] repo/proj/guru:master " Andrew Ammerlaan
2022-05-24 19:07 ` [gentoo-commits] repo/proj/guru:dev " Andrew Ammerlaan
2022-05-18 15:16 Tony Olagbaiye

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1652902590.101320a44ad90548e7678e1fe9eab562e4d34ae0.gentoo@gentoo \
    --to=gentoo@fron.io \
    --cc=gentoo-commits@lists.gentoo.org \
    --cc=gentoo-dev@lists.gentoo.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox