diff options
Diffstat (limited to 'dev-util/github-cli')
| -rw-r--r-- | dev-util/github-cli/Manifest | 4 | ||||
| -rw-r--r-- | dev-util/github-cli/github-cli-2.66.1.ebuild (renamed from dev-util/github-cli/github-cli-2.52.0.ebuild) | 26 |
2 files changed, 7 insertions, 23 deletions
diff --git a/dev-util/github-cli/Manifest b/dev-util/github-cli/Manifest index 7b0dc01e0fd1..d3277d205392 100644 --- a/dev-util/github-cli/Manifest +++ b/dev-util/github-cli/Manifest @@ -1,4 +1,4 @@ -DIST github-cli-2.52.0-deps.tar.xz 89577956 BLAKE2B 5259f324843c92ea1781d14e948893c3632438d46cc05469edac4557e9977c6df889c796fe4f7b1bcb4b6d64830b8c5c5b5cb2b37a21757990ede84a0fbe4c75 SHA512 bb9b28a8b9251d8cb4082ea5a040bd7d844fa2fa4243f8933502dccbb0673349dd1b0b6191c60905266eab88bdb1e3f7df6e53a3bea13e98236a36e6c0dfab7b -DIST github-cli-2.52.0.tar.gz 988293 BLAKE2B 383a6e88a509cbe25544088f7260335b264d36f0acfc1ca4dbd648b911671d1fe0a4b85d678225bc81ba4a236de8acc2ba57bc55b19cfc53c5dcb746d3ab1a76 SHA512 bb43f4160eebfa61c56d1272f379689f33e115d9b00cc0af40212cdb2964fb9953f25cee777baef95dc751e80a64e5b374c98e07ac5118963a43f8b29100c27b DIST github-cli-2.65.0-deps.tar.xz 68106872 BLAKE2B cc32318356dda4c703721243f57e1cefa7d6baec6e08fe02b14fca3f4e4adcbc576b3561be8046e63af800f0a1421fe71d476b0b4b6e0df0adec7f108b7f98ee SHA512 81684d9c810098a922d604fa52e5e849bff78625b72afc55b4823d8b8d0ba0eca200a53f390637e305c3acef8c4b77ca90e423f196047d84dc264a7ebeba6b8a DIST github-cli-2.65.0.tar.gz 12939630 BLAKE2B 9d4f5ab0ae8d2b2638a2aeeedefd7fcca7b526dcc71595e22fc8a1a834ed613959999dc7590a8799cb2682b9710c8701a94e7d4cd5a469d6e88b0a551e030f3d SHA512 801d98427e0c58961840e6f6be5fd0a4863da6da1aa31d3af43eb440f2a9dda930d8e7226ba69ebfb04393928092924de913ecb582c0588682773b6e4c76165b +DIST github-cli-2.66.1-deps.tar.xz 72745840 BLAKE2B 2d57fd21d05a56ef6c7cd098d5121838b4c0dab14565ee88c0deddd4645e2f2dbf82f4f13e19106565b790d6d2dce201200e8271863666f267e9f668f1db2fac SHA512 22294bff4cbc477e45738dd8c176b319171b20384e81f1ca9c485ed9f00163f26545deb86142c2818b968fdcabb7ae739779c75448f661a74d962424efdb9223 +DIST github-cli-2.66.1.tar.gz 12962922 BLAKE2B bd0f56928fd24823782b1191afa44d8aaac17e501ac77981d53fe83fee56e70ee2f7602f3e43f8fdcef899f63784861e78aae6a86f286c44f175a0565616d9d5 SHA512 8d25a7c9cb79e94316362590f133aabe8d78bf7d180506b7e6980fabd9d7b4ad8d405f55c0439dac2293b5998e3f951fd05e469dc197f24095a51a872b6cd925 diff --git a/dev-util/github-cli/github-cli-2.52.0.ebuild b/dev-util/github-cli/github-cli-2.66.1.ebuild index 4484ca69c4ef..cd54bf0e7d58 100644 --- a/dev-util/github-cli/github-cli-2.52.0.ebuild +++ b/dev-util/github-cli/github-cli-2.66.1.ebuild @@ -1,8 +1,8 @@ -# Copyright 1999-2024 Gentoo Authors +# Copyright 1999-2025 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=8 -inherit bash-completion-r1 go-module +inherit go-module DESCRIPTION="GitHub CLI" HOMEPAGE="https://github.com/cli/cli" @@ -34,27 +34,11 @@ src_unpack() { } src_compile() { - [[ ${PV} == *9999 ]] || export GH_VERSION="v${PV}" - # Once we set up cross compiling, this line will need to be adjusted - # to compile for the target. - # Everything else in this function happens on the host. - emake - - einfo "Building man pages" - emake manpages - - einfo "Building completions" - go run ./cmd/gh completion -s bash > gh.bash-completion || die - go run ./cmd/gh completion -s zsh > gh.zsh-completion || die + [[ ${PV} != 9999 ]] && export GH_VERSION="v${PV}" + emake prefix=/usr bin/gh manpages completions } src_install() { - dobin bin/gh + emake prefix=/usr DESTDIR="${D}" install dodoc README.md - - doman share/man/man?/gh*.? - - newbashcomp gh.bash-completion gh - insinto /usr/share/zsh/site-functions - newins gh.zsh-completion _gh } |
