commit:     aa9005715304e1b392cc4622f43082a3951041b1
Author:     Johannes Huber <johu <AT> gentoo <DOT> org>
AuthorDate: Wed Mar 19 06:50:05 2014 +0000
Commit:     Johannes Huber <johu <AT> gentoo <DOT> org>
CommitDate: Wed Mar 19 06:50:05 2014 +0000
URL:        
http://git.overlays.gentoo.org/gitweb/?p=dev/johu.git;a=commit;h=aa900571

[dev-vcs/git-flow] More vars for completion

Package-Manager: portage-2.2.8-r1

---
 dev-vcs/git-flow/git-flow-0.4.1.ebuild | 6 ++++--
 1 file changed, 4 insertions(+), 2 deletions(-)

diff --git a/dev-vcs/git-flow/git-flow-0.4.1.ebuild 
b/dev-vcs/git-flow/git-flow-0.4.1.ebuild
index ed33286..750407d 100644
--- a/dev-vcs/git-flow/git-flow-0.4.1.ebuild
+++ b/dev-vcs/git-flow/git-flow-0.4.1.ebuild
@@ -5,13 +5,15 @@
 EAPI=5
 
 MY_PN="${PN/-/}"
+COMP_PN="${PN}-completion"
 COMP_PV="0.4.2.2"
+COMP_P="${COMP_PN}-${COMP_PV}"
 inherit eutils bash-completion-r1
 
 DESCRIPTION="Git extensions to provide high-level repository operations for 
Vincent Driessen's branching model"
 HOMEPAGE="https://github.com/nvie/gitflow";
 SRC_URI="https://github.com/nvie/${MY_PN}/archive/${PV}.tar.gz -> ${P}.tar.gz
-https://github.com/bobthecow/${PN}-completion/archive/${COMP_PV}.tar.gz -> 
${PN}-completion-${COMP_PV}.tar.gz"
+https://github.com/bobthecow/${COMP_PN}/archive/${COMP_PV}.tar.gz -> 
${COMP_P}.tar.gz"
 
 LICENSE="BSD MIT"
 SLOT="0"
@@ -45,5 +47,5 @@ src_install() {
 
        [[ ${DOCS[@]} ]] && dodoc "${DOCS[@]}"
 
-       newbashcomp 
"${WORKDIR}/${PN}-completion-${COMP_PV}/${PN}-completion.bash" ${PN}
+       newbashcomp "${WORKDIR}/${COMP_P}/${COMP_PN}.bash" ${PN}
 }

Reply via email to