commit: 360c4b4e56af60943ca2b7eaee6ec72d322d7df5
Author: Jeffrey Lin <jeffrey <AT> icurse <DOT> nl>
AuthorDate: Sun May 31 02:28:56 2020 +0000
Commit: Robin H. Johnson <robbat2 <AT> gentoo <DOT> org>
CommitDate: Sun May 31 04:16:38 2020 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=360c4b4e
dev-util/github-cli: add bash completion, manpages
Signed-off-by: Jeffrey Lin <jeffrey <AT> icurse.nl>
(cherry picked from commit 05a59f8c3ed2991f4999c4936dbf5fc0565b7b60)
Signed-off-by: Robin H. Johnson <robbat2 <AT> gentoo.org>
.../{github-cli-0.9.0.ebuild => github-cli-0.9.0-r1.ebuild} | 8 +++++++-
1 file changed, 7 insertions(+), 1 deletion(-)
diff --git a/dev-util/github-cli/github-cli-0.9.0.ebuild
b/dev-util/github-cli/github-cli-0.9.0-r1.ebuild
similarity index 99%
rename from dev-util/github-cli/github-cli-0.9.0.ebuild
rename to dev-util/github-cli/github-cli-0.9.0-r1.ebuild
index 61c48d3dee4..40cf4d76c40 100644
--- a/dev-util/github-cli/github-cli-0.9.0.ebuild
+++ b/dev-util/github-cli/github-cli-0.9.0-r1.ebuild
@@ -2,7 +2,7 @@
# Distributed under the terms of the GNU General Public License v2
EAPI=7
-inherit go-module
+inherit bash-completion-r1 go-module
DESCRIPTION="GitHub CLI"
HOMEPAGE="https://github.com/cli/cli"
@@ -294,4 +294,10 @@ src_compile() {
src_install() {
dobin bin/gh
dodoc README.md
+
+ make manpages
+ doman share/man/man1/gh*.1
+
+ bin/gh completion -s bash > gh
+ dobashcomp gh
}