commit: 24ab2d84b5cf9d6b0f899631fa6393dd4fd1a167
Author: Manuel Rüger <mrueg <AT> gentoo <DOT> org>
AuthorDate: Mon Nov 27 20:13:50 2017 +0000
Commit: Manuel Rüger <mrueg <AT> gentoo <DOT> org>
CommitDate: Mon Nov 27 20:13:50 2017 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=24ab2d84
net-fs/mc: Install bash-completion
Package-Manager: Portage-2.3.16, Repoman-2.3.6
net-fs/mc/mc-0_pre20171014.ebuild | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/net-fs/mc/mc-0_pre20171014.ebuild
b/net-fs/mc/mc-0_pre20171014.ebuild
index e3cbab56910..de6178cf067 100644
--- a/net-fs/mc/mc-0_pre20171014.ebuild
+++ b/net-fs/mc/mc-0_pre20171014.ebuild
@@ -2,7 +2,7 @@
# Distributed under the terms of the GNU General Public License v2
EAPI=6
-inherit golang-build golang-vcs-snapshot
+inherit golang-build golang-vcs-snapshot bash-completion-r1
EGO_PN="github.com/minio/mc"
VERSION="2017-10-14T00-51-16Z"
@@ -33,7 +33,6 @@ src_prepare() {
src_compile() {
pushd src/${EGO_PN} || die
MC_RELEASE="${VERSION}"
- go run buildscripts/gen-ldflags.go
GOPATH="${S}" go build --ldflags "$(go run
buildscripts/gen-ldflags.go)" -o ${PN} || die
popd || die
}
@@ -42,5 +41,6 @@ src_install() {
pushd src/${EGO_PN} || die
dodoc -r README.md CONTRIBUTING.md docs
dobin mc
+ newbashcomp autocomplete/bash_autocomplete ${PN}
popd || die
}