app-shells/carapace: add 0.28.4

Signed-off-by: Jonas Frei <freijon@pm.me>
This commit is contained in:
Jonas Frei
2023-11-28 05:47:07 +01:00
parent 74696e84f4
commit 8cb060838b
2 changed files with 37 additions and 0 deletions

View File

@@ -1,2 +1,4 @@
DIST carapace-0.28.3-deps.tar.xz 2151948 BLAKE2B ac5e1c09b2cfc6bfc45ae6db274ab676de4dc33b9da458951d44d930d7cc48dedeb2cc8496e434fef09ef066275631ddc30a51bab1da30cc40c2a528bbc11f89 SHA512 3faf83a36b030d961ebb097e9acfd4c1a41c8acdb8e3a60b782e41a66793778e690d4aba0e0e869cdfea29f4c4e6fbdde5e9aef2c1bfa5ff1ff704dc99276e42
DIST carapace-0.28.3.tar.gz 12415261 BLAKE2B b77ddf40a715b9175e54cc447ae1fd3886dc71254157fc1e22632eebb898a9c89a7fe0b89682bcc71f8d11069a18f144edaf11e00409a3a6366f2e2ec6a68c4d SHA512 e6d71a05f347a9002ecf80090cb50342cf24e085b393d29aa10878c9b79796950836c019027ce2d8519251a88c0f1cd9fa9a39b5907f8aa55558a98fc6249462
DIST carapace-0.28.4-deps.tar.xz 2157472 BLAKE2B b8b4e1e9a71e451ade103684231ff86fbc114b98d754f8df8dcf3c105200e78d3996158c0a80899ddacdf3e874d668c4bc5ced3d826f7bea91640d02a4642576 SHA512 1c859d70ef6f048a064dd436c7731178e90734b6ac3510b8dd3c944d42e14684e4d179c464c79436d0febe4dac763c68c6195feec58638349727087675ccff20
DIST carapace-0.28.4.tar.gz 12427053 BLAKE2B 32b71eefe85423aec338a7dfe4f37f109ec623b3af6050ba61bd256e80a3313c106a583158acdac6fd9083ef294e8675143f1c29914357e11c1e05adfb862864 SHA512 1d49f7ef47951e529a644a3da256876313ee3e9b4b490e4f49743de304efb91ec33a874c85344d96cce229c02fa0c6ff854ff1d436f467823c75f45cbdf64c88

View File

@@ -0,0 +1,35 @@
# 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://rsteube.github.io/carapace-bin/"
SRC_URI="https://github.com/rsteube/${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"
IUSE=""
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/changelog" || die
dodoc "README.md"
dodoc -r "docs/book"
}