diff options
author | Jonas Frei <freijon@pm.me> | 2024-10-06 06:15:22 +0200 |
---|---|---|
committer | Jonas Frei <freijon@pm.me> | 2024-10-06 06:20:11 +0200 |
commit | ec69e81cff9097f02e523f963bb079f1445eb348 (patch) | |
tree | 56e8d779219ad7aa59cd1baa318373228e90e4ef /app-shells | |
parent | dev-util/ocamlformat: make `ocamlformat --version` print the correct version (diff) | |
download | guru-ec69e81cff9097f02e523f963bb079f1445eb348.tar.gz guru-ec69e81cff9097f02e523f963bb079f1445eb348.tar.bz2 guru-ec69e81cff9097f02e523f963bb079f1445eb348.zip |
app-shells/carapace: add 1.0.7
Also: fixed license from Apache-2.0 to MIT
Signed-off-by: Jonas Frei <freijon@pm.me>
Diffstat (limited to 'app-shells')
-rw-r--r-- | app-shells/carapace/Manifest | 2 | ||||
-rw-r--r-- | app-shells/carapace/carapace-1.0.7.ebuild | 44 |
2 files changed, 46 insertions, 0 deletions
diff --git a/app-shells/carapace/Manifest b/app-shells/carapace/Manifest index 5d297cd02..6b8962383 100644 --- a/app-shells/carapace/Manifest +++ b/app-shells/carapace/Manifest @@ -2,3 +2,5 @@ DIST carapace-1.0.5-deps.tar.xz 3065304 BLAKE2B b8de6cef7055b50d2801e3229bfbccab DIST carapace-1.0.5.tar.gz 14786701 BLAKE2B 182ac048af0cdac7d8be790630109a97769041a59286bddedd4fa5051445b5f30e487bb96a3eb9483eaac4e7f924d743f326b1f195538433c661f6cac1633dba SHA512 a1343a9ca8d311ca2125c14af169516265f28c82ae6d87029351cd0ca7fadf647a488266eb3df665bd8ffb0e7d342afcec7764c2810d8dd43e6c080659da96d2 DIST carapace-1.0.6-deps.tar.xz 3073612 BLAKE2B 250fe84e89c9d2621034be225799e18cc847ddc9e5007136314645fc9fc0d4fd3e47f9816237ab63a13f844c316a51f623d6cab940228e17982d5d1b01cf28e9 SHA512 5725cf7d023672f9192949ee7f5db60e0b2d5f1b1f6d098847ee44e78ed62aa489c6ab724da3016718a1f85cf3d9f9a5b8305a42caf4007e324cd60f66b2aee9 DIST carapace-1.0.6.tar.gz 14792569 BLAKE2B e86a442c66288184fc033ef148b4cb6535d74593dfc5671d72bf9a29fb5373f00fe8812776333508717f3883ffb6b0039d724443b37cc6138055b83cecdf6ebb SHA512 dd61e690f517dc7daa061cf2f8587a67fd9485a087ad27c425582f551ec9c1660166bf38444deb028c08bd798ce494756973f30cb388aeffc16fa9c98e8c2e52 +DIST carapace-1.0.7-deps.tar.xz 3078500 BLAKE2B 1f56ee8951f125d55ace8fc07bd39a6ff72755df054b6b0dd66682c6045302e33c84b826576d98590e513f9054bb3d5a63e7efd51ac413e435d7329822478304 SHA512 63057caaeca3b732f6b321b67f250ee8c46dbc89a6b1378257b2c71c97a1ec1640efa4ead1fc87027d57267f01acca033a7fdb9925aa06156df82597e6919f65 +DIST carapace-1.0.7.tar.gz 14799127 BLAKE2B c571384b47473b921d6faef991d14caa39146e11f0794be09458990780f4aa6574cbb1b6b8897d09dcf263825b179edb783824e410a45cbcd47a8e9e3f874759 SHA512 2d83d1d1a6241bf5bfe114d06cfe52703bf9c94d26141cdca0bc7767e5f8144b904c89e1aba910d1fa86c9cbce972e7968737c40dc9fd5471cf1b7777c453140 diff --git a/app-shells/carapace/carapace-1.0.7.ebuild b/app-shells/carapace/carapace-1.0.7.ebuild new file mode 100644 index 000000000..b0747212b --- /dev/null +++ b/app-shells/carapace/carapace-1.0.7.ebuild @@ -0,0 +1,44 @@ +# Copyright 2024 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" + +# Using a dependency tarball as per https://devmanual.gentoo.org/eclass-reference/go-module.eclass/index.html +DEPS_URI="https://gitlab.com/freijon_gentoo/${CATEGORY}/${PN}/-/raw/main/${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.0 +" + +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 +} |