aboutsummaryrefslogtreecommitdiff
path: root/community/chezmoi
diff options
context:
space:
mode:
Diffstat (limited to 'community/chezmoi')
-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 5e167cb8..31c2aaef 100644
--- a/community/chezmoi/checksums
+++ b/community/chezmoi/checksums
@@ -1,2 +1,3 @@
%BLAKE3
-3702c611cc783b9c28bbbc4750eb993dc59612d4edc59076298e29c0c817af66 v2.10.1.tar.gz
+afca9342ee13220f5e22a9f118cf312eae479262f7916119ebd571195919fddb v2.40.3.tar.gz
+130fd47b5a62c25bda7a198da5f536ee28e8cd65e66dee3690d28d0bfa485c22 chezmoi-2.40.3-mod-vendor.tar.xz
diff --git a/community/chezmoi/sources b/community/chezmoi/sources
index b4070dbf..90c9bfbc 100644
--- a/community/chezmoi/sources
+++ b/community/chezmoi/sources
@@ -1 +1,2 @@
-https://github.com/twpayne/chezmoi/archive/v2.10.1.tar.gz
+https://github.com/twpayne/chezmoi/archive/v2.40.3.tar.gz
+https://dl.carbslinux.org/gomods/chezmoi-2.40.3-mod-vendor.tar.xz
diff --git a/community/chezmoi/version b/community/chezmoi/version
index 98a118ca..fa7f38a4 100644
--- a/community/chezmoi/version
+++ b/community/chezmoi/version
@@ -1 +1 @@
-2.10.1 1
+2.40.3 1