New package: chezmoi-1.8.7

This commit is contained in:
Abigail G 2020-10-15 17:35:00 -04:00 committed by Piraty
parent b46a099c67
commit 31aa1db232

25
srcpkgs/chezmoi/template Normal file
View file

@ -0,0 +1,25 @@
# Template file for 'chezmoi'
pkgname=chezmoi
version=1.8.7
revision=1
build_style=go
go_import_path="github.com/twpayne/chezmoi"
go_build_tags="noembeddocs noupgrade"
go_ldflags="-X main.version=${version} -X main.commit=v${version} -X main.builtBy=xbps -X github.com/twpayne/chezmoi/cmd.DocsDir=/usr/share/doc/chezmoi"
hostmakedepends="git"
short_desc="Manage your dotfiles across multiple machines, securely"
maintainer="Abigail G <dev@kb6.ee>"
license="MIT"
homepage="https://chezmoi.io/"
distfiles="https://github.com/twpayne/${pkgname}/archive/v${version}.tar.gz"
checksum=65800222506317ae0c419aec9e9daafe577b6c668490031453fd53f813788668
post_install() {
vlicense LICENSE
for f in docs/*; do vdoc $f; done
vcompletion completions/chezmoi-completion.bash bash chezmoi
vcompletion completions/chezmoi.fish fish chezmoi
vcompletion completions/chezmoi.zsh zsh chezmoi
}