void-packages/srcpkgs/chezmoi/template

27 lines
882 B
Bash
Raw Normal View History

2020-10-15 23:35:00 +02:00
# Template file for 'chezmoi'
pkgname=chezmoi
2020-11-01 07:23:26 +01:00
version=1.8.8
2020-10-15 23:35:00 +02:00
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"
2020-10-15 23:35:00 +02:00
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"
2020-11-01 07:23:26 +01:00
checksum=1cdd0a4d77714c5003e7abdb46cb3c0c64eb3dfe198d45d36dc5764c2c5c0fcd
2020-10-15 23:35:00 +02:00
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
}