Install this version:
emerge -a =app-shells/direnv-bin-2.38.2
If this version is masked, you can unmask it using the autounmask tool or standard emerge options:
autounmask =app-shells/direnv-bin-2.38.2
Or alternatively:
emerge --autounmask-write -a =app-shells/direnv-bin-2.38.2
| Version | EAPI | Keywords | Slot |
|---|---|---|---|
| 2.38.2 | 8 | ~amd64 | 0 |
EAPI=8
MY_PN="${PN%-bin}"
DESCRIPTION="Environment variable manager for shell (pre-compiled binary)"
HOMEPAGE="https://github.com/${MY_PN}/${MY_PN}"
SRC_URI="https://github.com/${MY_PN}/${MY_PN}/releases/download/v${PV}/${MY_PN}.linux-amd64 -> ${P}"
LICENSE="MIT"
SLOT="0"
KEYWORDS="~amd64"
RDEPEND="!app-shells/direnv"
RESTRICT="test strip"
S="${WORKDIR}"
src_unpack() {
cp "${DISTDIR}/${P}" "${WORKDIR}/${P}" || die "Failed to copy binary to WORKDIR"
}
src_install() {
newbin "${WORKDIR}/${P}" "${MY_PN}"
}
| Type | File | Size | Source URLs |
|---|---|---|---|
| DIST | direnv-bin-2.38.2 | 8548514 bytes | https://github.com/direnv/direnv/releases/download/v2.38.2/direnv.linux-amd64 |