dev-util/vfox - 1.0.6 (gentoo-zh)

Search

Package Information

Description:
A cross-platform version manager, extendable via plugins
Homepage:
https://vfox.dev https://github.com/version-fox/vfox
License:
Apache-2.0

Ebuild Details

Version EAPI Keywords Slot
1.0.6 8 ~amd64 ~arm ~arm64 ~x86 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 shell-completion

DESCRIPTION="A cross-platform version manager, extendable via plugins"
HOMEPAGE="https://vfox.dev https://github.com/version-fox/vfox"
SRC_URI="
	https://github.com/version-fox/vfox/archive/v${PV}.tar.gz -> ${P}.tar.gz
	https://github.com/gentoo-zh-drafts/vfox/releases/download/v${PV}/${P}-vendor.tar.xz
"

LICENSE="Apache-2.0"
SLOT="0"
KEYWORDS="~amd64 ~arm ~arm64 ~x86"

RDEPEND="app-shells/bash"
RDEPEND+=" !dev-util/vfox-bin"
BDEPEND=">=dev-lang/go-1.24.0"

src_compile() {
	ego build -o ${P}
}

src_install() {
	newbin ${P} ${PN}

	dodoc README.md

	newbashcomp completions/bash_autocomplete ${PN}
	newzshcomp completions/zsh_autocomplete _${PN}
}

Dependencies

RDEPEND

app-shells/bash  !dev-util/vfox-bin

BDEPEND

>=dev-lang/go-1.24.0

Manifest for 1.0.6

Type File Size Source URLs
DIST vfox-1.0.6-vendor.tar.xz 1970644 bytes https://github.com/gentoo-zh-drafts/vfox/releases/download/v1.0.6/vfox-1.0.6-vendor.tar.xz
DIST vfox-1.0.6.tar.gz 3352944 bytes https://github.com/version-fox/vfox/archive/v1.0.6.tar.gz