mirror of
https://github.com/gentoo-mirror/guru.git
synced 2025-04-20 00:08:58 -04:00
sys-process/snooze: simplify ebuilds
Signed-off-by: Tony Olagbaiye <bqv@fron.io>
This commit is contained in:
parent
ccd254b0fd
commit
101320a44a
@ -1 +0,0 @@
|
||||
snooze-9999.ebuild
|
17
sys-process/snooze/snooze-0.5.ebuild
Normal file
17
sys-process/snooze/snooze-0.5.ebuild
Normal file
@ -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
|
||||
}
|
@ -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"
|
||||
|
Loading…
x
Reference in New Issue
Block a user