From 8ce59664d0613af5269fdd9fcdd0097b2708d554 Mon Sep 17 00:00:00 2001 From: Cem Keylan Date: Thu, 18 Feb 2021 04:07:54 +0300 Subject: chezmoi: add new package at 1.8.11 --- community/chezmoi/build | 8 ++++++++ 1 file changed, 8 insertions(+) create mode 100755 community/chezmoi/build (limited to 'community/chezmoi/build') 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" -- cgit v1.2.3