From: Manuel RĂ¼ger Date: Mon, 27 Nov 2017 20:13:50 +0000 (+0100) Subject: net-fs/mc: Install bash-completion X-Git-Url: http://git.tremily.us/gitweb.cgi?a=commitdiff_plain;h=24ab2d84b5cf9d6b0f899631fa6393dd4fd1a167;p=gentoo.git net-fs/mc: Install bash-completion Package-Manager: Portage-2.3.16, Repoman-2.3.6 --- diff --git a/net-fs/mc/mc-0_pre20171014.ebuild b/net-fs/mc/mc-0_pre20171014.ebuild index e3cbab56910c..de6178cf067b 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 }