void-packages/srcpkgs/chezmoi/template
2022-02-04 00:10:42 +01:00

25 lines
829 B
Bash

# Template file for 'chezmoi'
pkgname=chezmoi
version=2.11.2
revision=1
build_style=go
go_import_path="github.com/twpayne/chezmoi/v2"
go_build_tags="noembeddocs noupgrade"
go_ldflags="-X main.version=${version} -X main.commit=v${version}
-X main.date=$(date -u +%Y-%m-%dT%H:%M:%SZ) -X main.builtBy=xbps"
short_desc="Manage your dotfiles across multiple machines, securely"
maintainer="classabbyamp <dev@kb6.ee>"
license="MIT"
homepage="https://chezmoi.io/"
distfiles="https://github.com/twpayne/chezmoi/archive/v${version}.tar.gz"
checksum=6ae56cb27aa75f3fc51ca12d4ed95314b7b999c5b02d7b7b0a02e4755e0f1a00
export CGO_ENABLED=1
post_install() {
vlicense LICENSE
vcompletion completions/chezmoi-completion.bash bash chezmoi
vcompletion completions/chezmoi.fish fish chezmoi
vcompletion completions/chezmoi.zsh zsh chezmoi
}