[net-im/spectrum] fix fetch

This commit is contained in:
Robert Förster 2015-12-15 15:09:13 +01:00
parent 0a746e8e85
commit 1008fb4d3f
1 changed files with 2 additions and 1 deletions

View File

@ -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"