diff options
author | Jonas Frei <freijon@pm.me> | 2024-04-15 20:14:02 +0200 |
---|---|---|
committer | Jonas Frei <freijon@pm.me> | 2024-04-15 20:14:02 +0200 |
commit | de43642a5d2f7ffdefceb73f53a0013bd0c9e022 (patch) | |
tree | f38ac9818cff5ba9a60bca4f70b62801b3b23cd2 /app-shells | |
parent | net-misc/xh: add 0.22.0 (diff) | |
download | guru-de43642a5d2f7ffdefceb73f53a0013bd0c9e022.tar.gz guru-de43642a5d2f7ffdefceb73f53a0013bd0c9e022.tar.bz2 guru-de43642a5d2f7ffdefceb73f53a0013bd0c9e022.zip |
app-shells/carapace: add 1.0.1
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.1.ebuild | 40 |
2 files changed, 42 insertions, 0 deletions
diff --git a/app-shells/carapace/Manifest b/app-shells/carapace/Manifest index db16418cf..9d0a0dc75 100644 --- a/app-shells/carapace/Manifest +++ b/app-shells/carapace/Manifest @@ -4,3 +4,5 @@ DIST carapace-0.30.2-deps.tar.xz 2206908 BLAKE2B 7ed05934d8512f8e091397c8aa6ca45 DIST carapace-0.30.2.tar.gz 13819214 BLAKE2B 8dce39ece1f216dbf9a109be5f8bbaf0d1dd9d7756402bdee64caf50ebf2770c24f068e541b0528f98e429acb1aa43231300fe74590385629ec69b7c73718869 SHA512 142cfb1d99df10507f27f1fc20b6639f84307182bd37eed3a6797f39b646f2315875873cd6ecfeb497dfdaf4b3bf9293dc96bd2e494661612bd949a62c2e495b DIST carapace-1.0.0-deps.tar.xz 3057572 BLAKE2B e61f5e496ab6e349d2ec1ee56e2ff85e904fe7dd2e85f32e78a0cfcc1cf94ddd8d3b9e23a478f42c8b3e373261fa02843221fe691d33bfc7ed645f6d0aa52a96 SHA512 3f3d427f3d4fc6e649fd4066f486ecde9bfdc8b8e0b27af8d96f59734ea02d833b96daa77f6e4882a1b9d3c9558739bc917d637631555eadb10042be6cd17a2e DIST carapace-1.0.0.tar.gz 14593185 BLAKE2B 2021c05a964e68f12551a6f44c9e95bc095631e98f5e00eef21ed870f8926b854813cc5d15777f0fbd27b9a90a0b456dd729b761d0019dc1c7784fbe80db7c8a SHA512 0a65597438852a03d1fcd2fb974b02cc0e68ff39d47daa75a51a0650232f11e7916992bc80a0b1f907e2325a8e7b70baab008f0a1061b6032b70a0c27ead3623 +DIST carapace-1.0.1-deps.tar.xz 3059464 BLAKE2B 2d6590659d707e8820c71f25b1d69e88b0f40a0a9738e3568095568bd2db013acbd754f913060c778a3932b4f16688e94f768680a5843b19a2b7a62da81c4f72 SHA512 4ac7f058a6fa27c9c205eddc31557cdd025d6946313b53f5da08c5608c1b8a62d79b6758f1729832b7cff05ead696367fcd3441aaa6f9f5a92cf6531f3a1b523 +DIST carapace-1.0.1.tar.gz 14611346 BLAKE2B 6e7d0ce9897f4b4251531d951cbdece9420931141d311b84b873ecd51f9e1ebe9bd0ee4ab647e1e578ed372469e11769621448c8e0b6c61774513088bb6da763 SHA512 4e4d745879209343ff06e2d716bcbb7ec59920bb885deea9cb6a765d4c7a2040e4ace578e3fa820bda4c89a6ecab55e48e914f22c00565551331645e62e3fe73 diff --git a/app-shells/carapace/carapace-1.0.1.ebuild b/app-shells/carapace/carapace-1.0.1.ebuild new file mode 100644 index 000000000..902c67081 --- /dev/null +++ b/app-shells/carapace/carapace-1.0.1.ebuild @@ -0,0 +1,40 @@ +# Copyright 2023 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}" + +LICENSE="Apache-2.0" +SLOT="0" +KEYWORDS="~amd64" + +DOCS=( + "README.md" +) +HTML_DOCS=( + "docs/book/" +) + +S="${WORKDIR}/${PN}-bin-${PV}" + +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 +} |