1 |
commit: 360c4b4e56af60943ca2b7eaee6ec72d322d7df5 |
2 |
Author: Jeffrey Lin <jeffrey <AT> icurse <DOT> nl> |
3 |
AuthorDate: Sun May 31 02:28:56 2020 +0000 |
4 |
Commit: Robin H. Johnson <robbat2 <AT> gentoo <DOT> org> |
5 |
CommitDate: Sun May 31 04:16:38 2020 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=360c4b4e |
7 |
|
8 |
dev-util/github-cli: add bash completion, manpages |
9 |
|
10 |
Signed-off-by: Jeffrey Lin <jeffrey <AT> icurse.nl> |
11 |
(cherry picked from commit 05a59f8c3ed2991f4999c4936dbf5fc0565b7b60) |
12 |
Signed-off-by: Robin H. Johnson <robbat2 <AT> gentoo.org> |
13 |
|
14 |
.../{github-cli-0.9.0.ebuild => github-cli-0.9.0-r1.ebuild} | 8 +++++++- |
15 |
1 file changed, 7 insertions(+), 1 deletion(-) |
16 |
|
17 |
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 |
18 |
similarity index 99% |
19 |
rename from dev-util/github-cli/github-cli-0.9.0.ebuild |
20 |
rename to dev-util/github-cli/github-cli-0.9.0-r1.ebuild |
21 |
index 61c48d3dee4..40cf4d76c40 100644 |
22 |
--- a/dev-util/github-cli/github-cli-0.9.0.ebuild |
23 |
+++ b/dev-util/github-cli/github-cli-0.9.0-r1.ebuild |
24 |
@@ -2,7 +2,7 @@ |
25 |
# Distributed under the terms of the GNU General Public License v2 |
26 |
|
27 |
EAPI=7 |
28 |
-inherit go-module |
29 |
+inherit bash-completion-r1 go-module |
30 |
|
31 |
DESCRIPTION="GitHub CLI" |
32 |
HOMEPAGE="https://github.com/cli/cli" |
33 |
@@ -294,4 +294,10 @@ src_compile() { |
34 |
src_install() { |
35 |
dobin bin/gh |
36 |
dodoc README.md |
37 |
+ |
38 |
+ make manpages |
39 |
+ doman share/man/man1/gh*.1 |
40 |
+ |
41 |
+ bin/gh completion -s bash > gh |
42 |
+ dobashcomp gh |
43 |
} |