aboutsummaryrefslogtreecommitdiff
path: root/community/syncthing
diff options
context:
space:
mode:
authorCem Keylan <cem@ckyln.com>2019-12-18 02:12:08 +0300
committerCem Keylan <cem@ckyln.com>2019-12-18 02:12:08 +0300
commit78ff09e592a119f0c3670a6e8b59db2fa1244d1c (patch)
treea7d6958948b6d2a641d27ee6153c8e9871a60acf /community/syncthing
parentf701fdc47f9b81ace49edeae7c444d7f4fc22d51 (diff)
downloadrepository-78ff09e592a119f0c3670a6e8b59db2fa1244d1c.tar.gz
syncthing: add manpages
Diffstat (limited to 'community/syncthing')
-rwxr-xr-xcommunity/syncthing/build14
-rw-r--r--community/syncthing/version2
2 files changed, 15 insertions, 1 deletions
diff --git a/community/syncthing/build b/community/syncthing/build
index a35e8424..083ac07b 100755
--- a/community/syncthing/build
+++ b/community/syncthing/build
@@ -3,3 +3,17 @@
go run build.go 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
diff --git a/community/syncthing/version b/community/syncthing/version
index 957d07e2..f750a809 100644
--- a/community/syncthing/version
+++ b/community/syncthing/version
@@ -1 +1 @@
-1.3.1 1
+1.3.1 2