summaryrefslogtreecommitdiff
path: root/net-fs/mc
diff options
context:
space:
mode:
authorManuel Rüger <mrueg@gentoo.org>2017-11-27 21:13:50 +0100
committerManuel Rüger <mrueg@gentoo.org>2017-11-27 21:13:50 +0100
commit24ab2d84b5cf9d6b0f899631fa6393dd4fd1a167 (patch)
tree5d9a32cf933073091878a7e89b9f97590e335462 /net-fs/mc
parentnet-dns/avahi: stable 0.7 for ppc, bug #635418 (thanks to ernsteiswuerfel) (diff)
downloadgentoo-24ab2d84b5cf9d6b0f899631fa6393dd4fd1a167.tar.gz
gentoo-24ab2d84b5cf9d6b0f899631fa6393dd4fd1a167.tar.bz2
gentoo-24ab2d84b5cf9d6b0f899631fa6393dd4fd1a167.zip
net-fs/mc: Install bash-completion
Package-Manager: Portage-2.3.16, Repoman-2.3.6
Diffstat (limited to 'net-fs/mc')
-rw-r--r--net-fs/mc/mc-0_pre20171014.ebuild4
1 files 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
}