aboutsummaryrefslogtreecommitdiff
path: root/community
diff options
context:
space:
mode:
authorCem Keylan <cem@ckyln.com>2021-02-18 04:07:54 +0300
committerCem Keylan <cem@ckyln.com>2021-02-18 04:07:54 +0300
commit8ce59664d0613af5269fdd9fcdd0097b2708d554 (patch)
treedd09b0d039bab50db726335abfc9e206e3e901a7 /community
parent0c4b6e88c088799232b7361cb7a0bf6285bbe5e0 (diff)
downloadrepository-8ce59664d0613af5269fdd9fcdd0097b2708d554.tar.gz
chezmoi: add new package at 1.8.11
Diffstat (limited to 'community')
-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