aboutsummaryrefslogtreecommitdiff
path: root/community/syncthing/build
diff options
context:
space:
mode:
authorCem Keylan <cem@ckyln.com>2022-08-08 14:11:19 +0300
committerCem Keylan <cem@ckyln.com>2022-08-08 14:11:19 +0300
commita5c3dc03f2392b4d249b4a891dccbf49cc4307ac (patch)
tree8bb54e1556bda2db3d7b841389b807c349fdfd79 /community/syncthing/build
parent12c70d1bccac6b934edfc14bdf73086e120b13ae (diff)
downloadrepository-a5c3dc03f2392b4d249b4a891dccbf49cc4307ac.tar.gz
syncthing: bump to 1.20.4
Diffstat (limited to 'community/syncthing/build')
-rwxr-xr-xcommunity/syncthing/build2
1 files changed, 2 insertions, 0 deletions
diff --git a/community/syncthing/build b/community/syncthing/build
index a4bd983e..18c4e7cb 100755
--- a/community/syncthing/build
+++ b/community/syncthing/build
@@ -4,6 +4,8 @@ export GOPATH="$PWD/gopath"
export GOFLAGS="$GOFLAGS -mod=vendor"
trap "go clean -modcache" EXIT INT
+patch -p1 < go-1.19.patch
+
go run build.go -no-upgrade -version "v$2" build
clinst -Dm755 syncthing "$1/usr/bin/syncthing"