diff --git a/net-im/spectrum/spectrum-9999.ebuild b/net-im/spectrum/spectrum-9999.ebuild index 4a731f5..8c19990 100644 --- a/net-im/spectrum/spectrum-9999.ebuild +++ b/net-im/spectrum/spectrum-9999.ebuild @@ -6,13 +6,14 @@ EAPI="5" inherit cmake-utils systemd versionator +MY_PN="spectrum2" + if [[ ${PV} = "9999" ]] ; then EGIT_REPO_URI="git://github.com/hanzz/${MY_PN}.git" inherit git-r3 KEYWORDS="" else RESTRICT="mirror" - MY_PN="spectrum2" MY_PV=$(replace_version_separator '_' '-') MY_P="${MY_PN}-${MY_PV}" SRC_URI="https://github.com/downloads/hanzz/${MY_PN}/${MY_P}.tar.gz"