aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xcommunity/chezmoi/build8
-rw-r--r--community/chezmoi/checksums1
-rw-r--r--community/chezmoi/depends1
-rw-r--r--community/chezmoi/sources1
-rw-r--r--community/chezmoi/version1
5 files changed, 12 insertions, 0 deletions
diff --git a/community/chezmoi/build b/community/chezmoi/build
new file mode 100755
index 00000000..02ccd498
--- /dev/null
+++ b/community/chezmoi/build
@@ -0,0 +1,8 @@
+#!/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"
diff --git a/community/chezmoi/checksums b/community/chezmoi/checksums
new file mode 100644
index 00000000..906ad9e9
--- /dev/null
+++ b/community/chezmoi/checksums
@@ -0,0 +1 @@
+23515591028202aaf7af908e38972f156ee08022f535bc74aaa9244b82da2fa1 v1.8.11.tar.gz
diff --git a/community/chezmoi/depends b/community/chezmoi/depends
new file mode 100644
index 00000000..b0fc1c1a
--- /dev/null
+++ b/community/chezmoi/depends
@@ -0,0 +1 @@
+go make
diff --git a/community/chezmoi/sources b/community/chezmoi/sources
new file mode 100644
index 00000000..880b2b11
--- /dev/null
+++ b/community/chezmoi/sources
@@ -0,0 +1 @@
+https://github.com/twpayne/chezmoi/archive/v1.8.11.tar.gz
diff --git a/community/chezmoi/version b/community/chezmoi/version
new file mode 100644
index 00000000..f804f443
--- /dev/null
+++ b/community/chezmoi/version
@@ -0,0 +1 @@
+1.8.11 1