void-packages/srcpkgs/chezmoi/template
Abigail G 48bb5d0cd3 chezmoi: update to 1.8.11.
Closes: #28614 [via git-merge-pr]
2021-02-10 10:07:13 -05:00

26 lines
883 B
Bash

# Template file for 'chezmoi'
pkgname=chezmoi
version=1.8.11
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=23515591028202aaf7af908e38972f156ee08022f535bc74aaa9244b82da2fa1
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
}