aboutsummaryrefslogtreecommitdiff
path: root/community
diff options
context:
space:
mode:
authorCem Keylan <cem@ckyln.com>2020-01-27 13:05:04 +0300
committerCem Keylan <cem@ckyln.com>2020-01-27 13:05:04 +0300
commitbd4822a46cc152fb6d7dcd9b2c986d81d6de4c9b (patch)
treeb2f54ff9a6574aab02b20469065ab803f7c26664 /community
parent39da02f752c35b7be892fdf19aa3993d26436019 (diff)
downloadrepository-bd4822a46cc152fb6d7dcd9b2c986d81d6de4c9b.tar.gz
syncthing: fix versioning and simplify build.
Diffstat (limited to 'community')
-rwxr-xr-xcommunity/syncthing/build18
-rw-r--r--community/syncthing/version2
2 files changed, 5 insertions, 15 deletions
diff --git a/community/syncthing/build b/community/syncthing/build
index 083ac07b..909d5b3d 100755
--- a/community/syncthing/build
+++ b/community/syncthing/build
@@ -1,19 +1,9 @@
#!/bin/sh -e
-go run build.go build
+go run build.go -no-upgrade -version "v1.3.3" build
install -Dm755 syncthing "$1/usr/bin/syncthing"
-cd man
-
-for man in *.1; do
- install -Dm644 "$man" "$1/usr/share/man/man1/$man"
-done
-
-for man in *.5; do
- install -Dm644 "$man" "$1/usr/share/man/man5/$man"
-done
-
-for man in *.7; do
- install -Dm644 "$man" "$1/usr/share/man/man7/$man"
-done
+install -Dm644 man/*.1 -t "$1/usr/share/man/man1"
+install -Dm644 man/*.5 -t "$1/usr/share/man/man5"
+install -Dm644 man/*.7 -t "$1/usr/share/man/man7"
diff --git a/community/syncthing/version b/community/syncthing/version
index bdd8f5bd..382cfc41 100644
--- a/community/syncthing/version
+++ b/community/syncthing/version
@@ -1 +1 @@
-1.3.3 1
+1.3.3 2