summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--dev-vcs/gitolite/gitolite-3.6.12.ebuild14
1 files changed, 6 insertions, 8 deletions
diff --git a/dev-vcs/gitolite/gitolite-3.6.12.ebuild b/dev-vcs/gitolite/gitolite-3.6.12.ebuild
index 360ff3ce4bc0..99fac58cfa00 100644
--- a/dev-vcs/gitolite/gitolite-3.6.12.ebuild
+++ b/dev-vcs/gitolite/gitolite-3.6.12.ebuild
@@ -3,19 +3,17 @@
EAPI=7
-[[ ${PV} == *9999 ]] && SCM="git-2"
-EGIT_REPO_URI="https://github.com/sitaramc/${PN}.git"
-EGIT_MASTER=master
-
-inherit perl-module ${SCM}
+inherit perl-module
DESCRIPTION="Highly flexible server for git directory version tracker"
HOMEPAGE="https://github.com/sitaramc/gitolite"
-if [[ ${PV} != *9999 ]]; then
+
+if [[ ${PV} == 9999 ]]; then
+ inherit git-r3
+ EGIT_REPO_URI="https://github.com/sitaramc/${PN}.git"
+else
SRC_URI="https://github.com/sitaramc/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz"
KEYWORDS="~amd64 ~arm ~x86"
-else
- SRC_URI=""
fi
LICENSE="GPL-2"