From 80e92fea8395b06d53382f96878822cc7e0431d3 Mon Sep 17 00:00:00 2001 From: Abigail G Date: Sun, 3 Oct 2021 12:25:20 -0400 Subject: [PATCH] chezmoi: update to 2.6.1, enable cgo. Note: if this package breaks on musl, disable cgo for musl (see void-linux/void-packages#33298) --- srcpkgs/chezmoi/template | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/srcpkgs/chezmoi/template b/srcpkgs/chezmoi/template index 071c5a5a74..ed94487b6f 100644 --- a/srcpkgs/chezmoi/template +++ b/srcpkgs/chezmoi/template @@ -1,18 +1,21 @@ # Template file for 'chezmoi' pkgname=chezmoi -version=2.5.1 +version=2.6.1 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 +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 -X github.com/twpayne/chezmoi/cmd.DocsDir=/usr/share/doc/chezmoi" short_desc="Manage your dotfiles across multiple machines, securely" maintainer="Abigail G " license="MIT" homepage="https://chezmoi.io/" distfiles="https://github.com/twpayne/chezmoi/archive/v${version}.tar.gz" -checksum=94ad37776ec47fd2865f3bcf56a090592e92d56558811d10fb0a331e146b899f +checksum=9703edbe369a498feb82173bda6400f23b7d1624154f84aa0beccf19462f082f + +export CGO_ENABLED=1 post_install() { vlicense LICENSE