aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xcommunity/chezmoi/build7
-rw-r--r--community/chezmoi/checksums3
-rw-r--r--community/chezmoi/sources3
-rw-r--r--community/chezmoi/version2
4 files changed, 6 insertions, 9 deletions
diff --git a/community/chezmoi/build b/community/chezmoi/build
index c42675ae..b395342c 100755
--- a/community/chezmoi/build
+++ b/community/chezmoi/build
@@ -1,10 +1,5 @@
#!/bin/sh -e
-export GOPATH="$PWD/gopath"
-
-trap "go clean -modcache" EXIT INT
-
-go mod vendor
date=$(date -u +%Y-%m-%dT%H:%M:%SZ)
-CGO_ENABLED=0 go build -ldflags="-X 'main.version=$2' -X 'main.commit=null' -X 'main.builtBy=cpt' -X 'main.date=$date'"
+CGO_ENABLED=0 go build -v -mod=vendor -ldflags="-X 'main.version=$2' -X 'main.commit=null' -X 'main.builtBy=cpt' -X 'main.date=$date'"
clinst -Dm755 chezmoi "$1/usr/bin/chezmoi"
diff --git a/community/chezmoi/checksums b/community/chezmoi/checksums
index b75ea8a0..cd784682 100644
--- a/community/chezmoi/checksums
+++ b/community/chezmoi/checksums
@@ -1,2 +1,3 @@
%BLAKE3
-4c29e82ac0c4f9ef9bd71874cc764a8a37f8cbcdeffdbdd19eb483d180df68da v2.11.2.tar.gz
+9448aba8de8bbad1b339949d711e4fff5c877741da20c776c552bb024ca9ce76 v2.12.0.tar.gz
+1800d2e91ef60c9cc25d453b3f454168cf83ebf164e5b051cdab777521cd7537 chezmoi-2.12.0-mod-vendor.tar.xz
diff --git a/community/chezmoi/sources b/community/chezmoi/sources
index 447f5eac..e482d341 100644
--- a/community/chezmoi/sources
+++ b/community/chezmoi/sources
@@ -1 +1,2 @@
-https://github.com/twpayne/chezmoi/archive/v2.11.2.tar.gz
+https://github.com/twpayne/chezmoi/archive/v2.12.0.tar.gz
+https://dl.carbslinux.org/gomods/chezmoi-2.12.0-mod-vendor.tar.xz
diff --git a/community/chezmoi/version b/community/chezmoi/version
index cb520ba3..f30894e2 100644
--- a/community/chezmoi/version
+++ b/community/chezmoi/version
@@ -1 +1 @@
-2.11.2 1
+2.12.0 1