void-packages/srcpkgs/chezmoi/template
2022-04-11 17:06:23 +02:00

25 lines
841 B
Bash

# Template file for 'chezmoi'
pkgname=chezmoi
version=2.15.1
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 <void@placeviolette.net>"
license="MIT"
homepage="https://chezmoi.io/"
distfiles="https://github.com/twpayne/chezmoi/archive/v${version}.tar.gz"
checksum=0100dcf8b70774595f56859e5d1b635319ba584ad7b280946352be328f36d679
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
}