aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xcommunity/syncthing/build8
-rw-r--r--community/syncthing/checksums1
-rw-r--r--community/syncthing/sources1
3 files changed, 4 insertions, 6 deletions
diff --git a/community/syncthing/build b/community/syncthing/build
index 3fe05416..4a3170df 100755
--- a/community/syncthing/build
+++ b/community/syncthing/build
@@ -1,11 +1,11 @@
#!/bin/sh -e
-read -r ver _ < version
+read -r ver _ < "${0%/*}/version"
go run build.go -no-upgrade -version "v$ver" build
install -Dm755 syncthing "$1/usr/bin/syncthing"
-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"
+for manpage in man/*.1 man/*.5 man/*.7; do
+ install -Dm644 "$manpage" "$1/usr/share/man/man${manpage##*.}/${manpage##*/}"
+done
diff --git a/community/syncthing/checksums b/community/syncthing/checksums
index 4512530e..b393326e 100644
--- a/community/syncthing/checksums
+++ b/community/syncthing/checksums
@@ -1,2 +1 @@
8735fee66886987702eb2484120c09dcdfe2c480da0304c727bd6f8ca0a6803f v1.5.0.tar.gz
-ca5f15b152093b211508e2be32df7ad19f0d8e900a4f686cdb862e10b66ec789 version
diff --git a/community/syncthing/sources b/community/syncthing/sources
index a158799c..5eda05de 100644
--- a/community/syncthing/sources
+++ b/community/syncthing/sources
@@ -1,2 +1 @@
https://github.com/syncthing/syncthing/archive/v1.5.0.tar.gz
-./version