dev-util/asdf-vm - 0.20.0 (gentoo-zh)

Search

Install

Install this version:

emerge -a =dev-util/asdf-vm-0.20.0

If this version is masked, you can unmask it using the autounmask tool or standard emerge options:

autounmask =dev-util/asdf-vm-0.20.0

Or alternatively:

emerge --autounmask-write -a =dev-util/asdf-vm-0.20.0

Package Information

Description:
Manage all your runtime versions with one tool
Homepage:
https://github.com/asdf-vm/asdf
License:
MIT

Ebuild Details

Version EAPI Keywords Slot
0.20.0 8 ~amd64 ~arm64 0
View Raw Ebuild
# Copyright 1999-2026 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2

EAPI=8

inherit go-module

DESCRIPTION="Manage all your runtime versions with one tool"
HOMEPAGE="https://github.com/asdf-vm/asdf"
SRC_URI="
	https://github.com/asdf-vm/asdf/archive/v${PV}.tar.gz -> ${P}.tar.gz
	https://github.com/gentoo-zh-drafts/asdf/releases/download/v${PV}/asdf-${PV}-vendor.tar.xz
"
S="${WORKDIR}/asdf-${PV}"

LICENSE="MIT"
SLOT="0"
KEYWORDS="~amd64 ~arm64"
RESTRICT="test"

BDEPEND=">=dev-lang/go-1.26.3"

DOCS=( CHANGELOG.md README.md )

src_compile() {
	local ldflags="-X 'main.Version=${PV}'"
	ego build -o ${P} -ldflags "${ldflags}" ./cmd/asdf
}

src_install() {
	einstalldocs
	newbin ${P} asdf
}

Inherited Eclasses

Dependencies

BDEPEND

>=dev-lang/go-1.26.3

Manifest for 0.20.0

Type File Size Source URLs
DIST asdf-0.20.0-vendor.tar.xz 2478524 bytes https://github.com/gentoo-zh-drafts/asdf/releases/download/v0.20.0/asdf-0.20.0-vendor.tar.xz
DIST asdf-vm-0.20.0.tar.gz 323538 bytes https://github.com/asdf-vm/asdf/archive/v0.20.0.tar.gz