Install this version:
emerge -a =dev-util/gum-2.0.1
# Copyright 2020-2025 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
inherit go-module shell-completion
DESCRIPTION="A tool for glamorous shell scripts"
HOMEPAGE="https://github.com/charmbracelet/gum"
SRC_URI="https://github.com/charmbracelet/gum/archive/v${PV}.tar.gz -> ${P}.tar.gz"
SRC_URI+=" https://gentoo.rgst.io/updater_artifacts/${CATEGORY}/${PN}/${PV}/deps.tar.xz -> ${P}-deps.tar.xz"
LICENSE="MIT"
SLOT="0"
KEYWORDS="amd64 ~arm arm64 ~riscv ~x86"
BDEPEND=">=dev-lang/go-1.26.7"
RESTRICT="test"
src_compile() {
ego build \
-ldflags \
"-s -w -X=main.Version=v${PV}" \
./
}
src_install() {
dobin gum
}
| Type | File | Size | Source URLs |
|---|---|---|---|
| DIST | gum-2.0.1-deps.tar.xz | 29190184 bytes | https://gentoo.rgst.io/updater_artifacts//gum/2.0.1/deps.tar.xz |
| DIST | gum-2.0.1.tar.gz | 71709 bytes | https://github.com/charmbracelet/gum/archive/v2.0.1.tar.gz |