app-admin/chezmoi - 2.71.1 (gentoo-zh)

Search

Install

Install this version:

emerge -a =app-admin/chezmoi-2.71.1

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

autounmask =app-admin/chezmoi-2.71.1

Or alternatively:

emerge --autounmask-write -a =app-admin/chezmoi-2.71.1

Package Information

Description:
Manage your dotfiles across multiple diverse machines, securely
Homepage:
https://www.chezmoi.io https://github.com/twpayne/chezmoi
License:
MIT

Ebuild Details

Version EAPI Keywords Slot
2.71.1 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="Manage your dotfiles across multiple diverse machines, securely"
HOMEPAGE="https://www.chezmoi.io https://github.com/twpayne/chezmoi"
SRC_URI="https://github.com/twpayne/chezmoi/archive/v${PV}.tar.gz -> ${P}.tar.gz"
SRC_URI+=" https://github.com/gentoo-zh-drafts/chezmoi/releases/download/v${PV}/${P}-vendor.tar.xz"

LICENSE="MIT"
SLOT="0"
KEYWORDS="~amd64 ~arm ~arm64 ~x86"

RDEPEND="dev-vcs/git"
RDEPEND+=" !app-admin/chezmoi-bin"
BDEPEND=">=dev-lang/go-1.26"

src_compile() {
	local ldflags="\
		-X main.version=${PV} \
		-X main.date=$(date -u +%Y-%m-%dT%H:%M:%SZ)"
	ego build -trimpath -ldflags "${ldflags}"
}

src_install() {
	dobin chezmoi
	newbashcomp completions/chezmoi-completion.bash chezmoi
	newzshcomp completions/chezmoi.zsh _chezmoi
}

Inherited Eclasses

Dependencies

RDEPEND

dev-vcs/git  !app-admin/chezmoi-bin

BDEPEND

>=dev-lang/go-1.26

Manifest for 2.71.1

Type File Size Source URLs
DIST chezmoi-2.71.1.tar.gz 2600170 bytes https://github.com/twpayne/chezmoi/archive/v2.71.1.tar.gz