void-packages/srcpkgs/chezmoi/template
2022-03-10 10:32:30 +01:00

25 lines
829 B
Bash

# Template file for 'chezmoi'
pkgname=chezmoi
version=2.14.0
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=4d7a1baf7e3caa8f6976b1ea5e6ba81c75273b1dd1f0fc946134a82454720397
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
}