Install this version:
emerge -a =app-shells/carapace-1.7.1
If this version is masked, you can unmask it using the autounmask tool or standard emerge options:
autounmask =app-shells/carapace-1.7.1
Or alternatively:
emerge --autounmask-write -a =app-shells/carapace-1.7.1
| Version | EAPI | Keywords | Slot |
|---|---|---|---|
| 1.7.1 | 8 | ~amd64 | 0 |
# Copyright 2024-2026 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/gentoo-golang-dist/${PN}-bin/releases/download/v${PV}/${PN}-bin-${PV}-vendor.tar.xz -> ${P}.tar.xz"
SRC_URI+=" ${DEPS_URI}"
S="${WORKDIR}/${PN}-bin-${PV}"
LICENSE="MIT"
SLOT="0"
KEYWORDS="~amd64"
BDEPEND="
>=dev-lang/go-1.26.2
"
DOCS=(
"README.md"
)
HTML_DOCS=(
"docs/book/"
)
src_compile() {
pushd "cmd/${PN}"
ego generate ./...
ego build -tags release
}
src_install() {
dobin "cmd/${PN}/${PN}"
mv "docs/src" "docs/book" || die
rm -r "docs/book/release_notes" || die
einstalldocs
}
| Type | File | Size | Source URLs |
|---|---|---|---|
| DIST | carapace-1.7.1.tar.gz | 23781149 bytes | https://github.com/carapace-sh/carapace-bin/archive/refs/tags/v1.7.1.tar.gz |
| DIST | carapace-1.7.1.tar.xz | 400160 bytes | https://github.com/gentoo-golang-dist/carapace-bin/releases/download/v1.7.1/carapace-bin-1.7.1-vendor.tar.xz |