diff options
author | Michael Seifert <m.seifert@digitalernachschub.de> | 2020-11-17 08:03:55 +0100 |
---|---|---|
committer | Joonas Niilola <juippis@gentoo.org> | 2020-11-20 14:04:26 +0200 |
commit | 8a2f89c70d80e1bd31d6f6432bed47d4782e7ce3 (patch) | |
tree | 5c00d7526d8db509ce938bae3a528e58c6399444 /net-analyzer/goaccess/goaccess-9999.ebuild | |
parent | net-analyzer/goaccess: Removed dependency & USE flag in live ebuild (diff) | |
download | gentoo-8a2f89c70d80e1bd31d6f6432bed47d4782e7ce3.tar.gz gentoo-8a2f89c70d80e1bd31d6f6432bed47d4782e7ce3.tar.bz2 gentoo-8a2f89c70d80e1bd31d6f6432bed47d4782e7ce3.zip |
net-analyzer/goaccess: Adjusted SRC_URI and EGIT_REPO_URI in -9999
The variables are set conditionally based on PV, so that the live ebuild can
simply be renamed to create a versioned ebuild.
Signed-off-by: Michael Seifert <m.seifert@digitalernachschub.de>
Signed-off-by: Joonas Niilola <juippis@gentoo.org>
Diffstat (limited to 'net-analyzer/goaccess/goaccess-9999.ebuild')
-rw-r--r-- | net-analyzer/goaccess/goaccess-9999.ebuild | 12 |
1 files changed, 8 insertions, 4 deletions
diff --git a/net-analyzer/goaccess/goaccess-9999.ebuild b/net-analyzer/goaccess/goaccess-9999.ebuild index 54c48bd6e78f..e029cb0bf444 100644 --- a/net-analyzer/goaccess/goaccess-9999.ebuild +++ b/net-analyzer/goaccess/goaccess-9999.ebuild @@ -3,17 +3,21 @@ EAPI=7 -EGIT_REPO_URI="https://github.com/allinurl/${PN}.git" +inherit autotools -inherit autotools git-r3 +if [[ ${PV} = *9999* ]] ; then + EGIT_REPO_URI="https://github.com/allinurl/${PN}.git" + inherit git-r3 +else + SRC_URI="https://tar.goaccess.io/${P}.tar.gz" + KEYWORDS="~amd64 ~x86 ~amd64-linux" +fi DESCRIPTION="A real-time web log analyzer and interactive viewer that runs in a terminal" HOMEPAGE="https://goaccess.io" -SRC_URI="" LICENSE="MIT" SLOT="0" -KEYWORDS="" IUSE="debug geoip geoipv2 getline libressl ssl unicode" REQUIRED_USE="geoipv2? ( geoip )" |