26 lines
829 B
Bash
26 lines
829 B
Bash
# Template file for 'chezmoi'
|
|
pkgname=chezmoi
|
|
version=2.12.0
|
|
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.date=$(date -u +%Y-%m-%dT%H:%M:%SZ) -X main.builtBy=xbps"
|
|
short_desc="Manage your dotfiles across multiple machines, securely"
|
|
maintainer="classabbyamp <dev@kb6.ee>"
|
|
license="MIT"
|
|
homepage="https://chezmoi.io/"
|
|
distfiles="https://github.com/twpayne/chezmoi/archive/v${version}.tar.gz"
|
|
checksum=872007b0995c4926d4297b413e4a0b2234883ba9f7f415b8dbd70fd0870e128d
|
|
|
|
export CGO_ENABLED=1
|
|
|
|
post_install() {
|
|
vlicense LICENSE
|
|
|
|
vcompletion completions/chezmoi-completion.bash bash chezmoi
|
|
vcompletion completions/chezmoi.fish fish chezmoi
|
|
vcompletion completions/chezmoi.zsh zsh chezmoi
|
|
}
|