~mdw
/
termux-packages
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
b2f02e7
)
syncthing: Bundle manual pages in package
author
Fredrik Fornwall
<fredrik@fornwall.net>
Tue, 11 Apr 2017 20:26:35 +0000
(22:26 +0200)
committer
Fredrik Fornwall
<fredrik@fornwall.net>
Tue, 11 Apr 2017 20:26:35 +0000
(22:26 +0200)
packages/syncthing/build.sh
patch
|
blob
|
blame
|
history
diff --git
a/packages/syncthing/build.sh
b/packages/syncthing/build.sh
index
a537a3e
..
106e2d7
100644
(file)
--- 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
}