aboutsummaryrefslogtreecommitdiff
path: root/community/chezmoi
diff options
context:
space:
mode:
Diffstat (limited to 'community/chezmoi')
-rwxr-xr-xcommunity/chezmoi/build9
-rw-r--r--community/chezmoi/checksums4
-rw-r--r--community/chezmoi/meta3
-rw-r--r--community/chezmoi/sources3
-rw-r--r--community/chezmoi/version2
5 files changed, 12 insertions, 9 deletions
diff --git a/community/chezmoi/build b/community/chezmoi/build
index 02ccd498..b395342c 100755
--- a/community/chezmoi/build
+++ b/community/chezmoi/build
@@ -1,8 +1,5 @@
#!/bin/sh -e
-export GOPATH=$PWD/gopath
-trap "go clean -modcache" EXIT INT
-go mod vendor
-
-CGO_ENABLED=0 go build -ldflags="-X 'main.version=$2'"
-install -Dm755 chezmoi "$1/usr/bin/chezmoi"
+date=$(date -u +%Y-%m-%dT%H:%M:%SZ)
+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 ca065016..31c2aaef 100644
--- a/community/chezmoi/checksums
+++ b/community/chezmoi/checksums
@@ -1 +1,3 @@
-b0adafc1045d62122e32aa38020730a8541d5c6e4683dcea4b799e75670eb0f3 v2.0.15.tar.gz
+%BLAKE3
+afca9342ee13220f5e22a9f118cf312eae479262f7916119ebd571195919fddb v2.40.3.tar.gz
+130fd47b5a62c25bda7a198da5f536ee28e8cd65e66dee3690d28d0bfa485c22 chezmoi-2.40.3-mod-vendor.tar.xz
diff --git a/community/chezmoi/meta b/community/chezmoi/meta
new file mode 100644
index 00000000..b1353dec
--- /dev/null
+++ b/community/chezmoi/meta
@@ -0,0 +1,3 @@
+description: Dotfiles manager written in Go
+license: MIT
+maintainer: Cem Keylan <cem@carbslinux.org>
diff --git a/community/chezmoi/sources b/community/chezmoi/sources
index d9a3436f..90c9bfbc 100644
--- a/community/chezmoi/sources
+++ b/community/chezmoi/sources
@@ -1 +1,2 @@
-https://github.com/twpayne/chezmoi/archive/v2.0.15.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 4d12b8f8..fa7f38a4 100644
--- a/community/chezmoi/version
+++ b/community/chezmoi/version
@@ -1 +1 @@
-2.0.15 1
+2.40.3 1