From e5a9fdd8097b5861671c51e3b4644c84bd74106d Mon Sep 17 00:00:00 2001 From: Fredrik Fornwall Date: Tue, 11 Apr 2017 22:26:35 +0200 Subject: [PATCH] syncthing: Bundle manual pages in package --- packages/syncthing/build.sh | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/packages/syncthing/build.sh b/packages/syncthing/build.sh index a537a3ee7..106e2d73c 100644 --- a/packages/syncthing/build.sh +++ b/packages/syncthing/build.sh @@ -31,9 +31,14 @@ termux_step_make(){ -no-upgrade \ -version v$TERMUX_PKG_VERSION \ build - } termux_step_make_install() { cp go/src/github.com/syncthing/syncthing/syncthing $TERMUX_PREFIX/bin/ + + for section in 1 5 7; do + local MANDIR=$PREFIX/share/man/man$section + mkdir -p $MANDIR + cp $TERMUX_PKG_SRCDIR/man/*.$section $MANDIR + done }