From 5d2ea5ef009436747b152e270552df7d437a40ed Mon Sep 17 00:00:00 2001 From: Casey Avila Date: Sun, 4 Oct 2020 15:12:48 -0700 Subject: app-misc/stag: Add live --- app-misc/stag/stag-1.0.0.ebuild | 15 +++++++++++++-- 1 file changed, 13 insertions(+), 2 deletions(-) (limited to 'app-misc/stag/stag-1.0.0.ebuild') diff --git a/app-misc/stag/stag-1.0.0.ebuild b/app-misc/stag/stag-1.0.0.ebuild index 68b9c88..96d4a7a 100644 --- a/app-misc/stag/stag-1.0.0.ebuild +++ b/app-misc/stag/stag-1.0.0.ebuild @@ -3,13 +3,24 @@ EAPI=7 +if [[ ${PV} == *9999 ]]; then + inherit git-r3 + EGIT_REPO_URI="https://github.com/seenaburns/stag.git" +fi + DESCRIPTION="Streaming bar graphs. For stats and stuff." HOMEPAGE="https://github.com/seenaburns/stag" -SRC_URI="https://github.com/seenaburns/stag/archive/v${PV}.tar.gz -> ${P}.tar.gz" + +if [[ ${PV} == *9999 ]]; then + SRC_URI="" + KEYWORDS="" +else + SRC_URI="https://github.com/seenaburns/stag/archive/v${PV}.tar.gz -> ${P}.tar.gz" + KEYWORDS="~amd64 ~x86" +fi LICENSE="BSD" SLOT="0" -KEYWORDS="~amd64 ~x86" IUSE="" DEPEND="sys-libs/ncurses" -- cgit 1.4.1