2020-10-15 21:35:00 +00:00
|
|
|
# Template file for 'chezmoi'
|
|
|
|
pkgname=chezmoi
|
2020-11-21 03:16:48 +00:00
|
|
|
version=1.8.9
|
2020-10-15 21:35:00 +00:00
|
|
|
revision=1
|
|
|
|
build_style=go
|
|
|
|
go_import_path="github.com/twpayne/chezmoi"
|
|
|
|
go_build_tags="noembeddocs noupgrade"
|
2020-10-16 17:55:22 +00:00
|
|
|
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 21:35:00 +00: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-21 03:16:48 +00:00
|
|
|
checksum=6e9d341672bc375ad2e9594a689c0c8ae8ebad0c964d699dfbd408fc93058b93
|
2020-10-15 21:35:00 +00: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
|
|
|
|
}
|