commit: ebee310840533198492a882a94f16876f3097e7a Author: Jonas Frei <freijon <AT> pm <DOT> me> AuthorDate: Mon Jul 28 04:40:18 2025 +0000 Commit: Lucio Sauer <watermanpaint <AT> posteo <DOT> net> CommitDate: Mon Jul 28 04:44:23 2025 +0000 URL: https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=ebee3108
app-shells/carapace: add 1.4.1 Signed-off-by: Jonas Frei <freijon <AT> pm.me> app-shells/carapace/Manifest | 2 ++ app-shells/carapace/carapace-1.4.1.ebuild | 43 +++++++++++++++++++++++++++++++ 2 files changed, 45 insertions(+) diff --git a/app-shells/carapace/Manifest b/app-shells/carapace/Manifest index 73c5115329..d196314b1f 100644 --- a/app-shells/carapace/Manifest +++ b/app-shells/carapace/Manifest @@ -1,2 +1,4 @@ DIST carapace-1.4.0-deps.tar.xz 3008152 BLAKE2B df3c31c6f27a8c5d8a1e4c4946461344fe1466f9a3f996d65b500dc2c0664def75514651591bdbd06167bde3a40b354b798efa2825d5872d06dd95cc485c2621 SHA512 b0b6f2fb6b2441efc5b9dd2729e956588000f1d841c03e135e31842a75ccfd43c1f03691d37d987ebf726a4e2283bd9256007d8c623214a9f9b8e127a9be93e2 DIST carapace-1.4.0.tar.gz 18183877 BLAKE2B bf58b36d6724adabdb71e8baf9389f36bc0ee7ff94fddd0a364ed946fd52f9766e15d711579eb73203b5c19b8174aad5e138a3e775accae5a90dd78b83d6baef SHA512 c381ed78f5321a8561c5b3c6a718c84d5fecf9c38d83e0f4d8f66854bc30629f3968b8966704031d2d364f89d31bcbb0eeb21a4aaebb0848625cb8237f8a0533 +DIST carapace-1.4.1-deps.tar.xz 3009008 BLAKE2B 5761b8c57bc1eef07cf191f6265e929235b807934ec08d6108e60759ba3206d1fa30358231f35dd48230822be6bde455b7603af0f8bcba52780433b4a099afd5 SHA512 e37524519930db2134d969088d24bbd741057b4c0a6b230c2e410d1740be07a29f50c8f78c798dfa3a822229f51e48d450bb66ba57f38f5d73b8291360f7c0c8 +DIST carapace-1.4.1.tar.gz 18185679 BLAKE2B 1f846e2ec97ad6277f36cb960e7bb86aab27ef84291b5b8d8dd79e1d336494aa89ea84b3e547f6fd7637694162404f0fc5fb0c15efa908ac9b9005569e3cbf4c SHA512 541cb2c5c2b8c95f65114cd1ccfa6686cee308ee4aa4e01f0be5a8316f9942b1258ac5ff842e2f04354030470664c566d34d59375adf9621fb3786b01f818473 diff --git a/app-shells/carapace/carapace-1.4.1.ebuild b/app-shells/carapace/carapace-1.4.1.ebuild new file mode 100644 index 0000000000..b9400c753e --- /dev/null +++ b/app-shells/carapace/carapace-1.4.1.ebuild @@ -0,0 +1,43 @@ +# Copyright 2024-2025 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +inherit go-module + +DESCRIPTION="Multi-shell multi-command argument completer" +HOMEPAGE="https://carapace.sh/" +SRC_URI="https://github.com/${PN}-sh/${PN}-bin/archive/refs/tags/v${PV}.tar.gz -> ${P}.tar.gz" + +DEPS_URI="https://github.com/freijon/${PN}-bin/releases/download/v${PV}/${P}-deps.tar.xz" +SRC_URI+=" ${DEPS_URI}" + +S="${WORKDIR}/${PN}-bin-${PV}" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~amd64" + +BDEPEND=" + >=dev-lang/go-1.23.1 +" + +DOCS=( + "README.md" +) +HTML_DOCS=( + "docs/book/" +) + +src_compile() { + pushd "cmd/${PN}" + ego generate ./... + ego build -ldflags="-s -w" -tags release +} + +src_install() { + dobin "cmd/${PN}/${PN}" + mv "docs/src" "docs/book" || die + rm -r "docs/book/release_notes" || die + einstalldocs +}
