From 50bd24d6d370ded5a5ddbc8c232539994eccd6ef Mon Sep 17 00:00:00 2001
From: Cem Keylan <cem@ckyln.com>
Date: Sat, 24 Jul 2021 00:19:34 +0300
Subject: syncthing: use clinst, clman

---
 community/syncthing/build | 7 +++----
 1 file changed, 3 insertions(+), 4 deletions(-)

(limited to 'community')

diff --git a/community/syncthing/build b/community/syncthing/build
index 51a2e6f5..1a4353f4 100755
--- a/community/syncthing/build
+++ b/community/syncthing/build
@@ -6,8 +6,7 @@ go mod vendor
 
 go run build.go -no-upgrade -version "v$2" build
 
-install -Dm755 syncthing "$1/usr/bin/syncthing"
+clinst -Dm755 syncthing "$1/usr/bin/syncthing"
 
-for manpage in man/*.1 man/*.5 man/*.7; do
-    install -Dm644 "$manpage" "$1/usr/share/man/man${manpage##*.}/${manpage##*/}"
-done
+# Install manual pages.
+clman -d "$1" man/*.[0-9]
-- 
cgit v1.2.3