26 lines
883 B
Bash
26 lines
883 B
Bash
# Template file for 'chezmoi'
|
|
pkgname=chezmoi
|
|
version=2.0.12
|
|
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.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/chezmoi/archive/v${version}.tar.gz"
|
|
checksum=6714ec9ec32fcc0d20d94fffe0f0d8a7555ae46bb59bf53d4398144c1fd43ce9
|
|
|
|
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
|
|
}
|