X-Git-Url: https://git.distorted.org.uk/~mdw/termux-packages/blobdiff_plain/b2f02e74bc647339ae7d469d7712a0bb19e2d773..7e8a8bfbf79c0d33eb93fee81695ccada8cc246a:/packages/syncthing/build.sh diff --git a/packages/syncthing/build.sh b/packages/syncthing/build.sh index a537a3ee..c252a8e3 100644 --- a/packages/syncthing/build.sh +++ b/packages/syncthing/build.sh @@ -1,9 +1,9 @@ TERMUX_PKG_HOMEPAGE=https://syncthing.net/ TERMUX_PKG_DESCRIPTION="Decentralized file synchronization" -TERMUX_PKG_VERSION=0.14.27-rc.2 -TERMUX_PKG_SRCURL=https://github.com/syncthing/syncthing/archive/v0.14.27-rc.2.tar.gz -TERMUX_PKG_SHA256=2243d3ddec966fef7f6563e3028c17f55916479a4e8fe5b30cd0960825f9f3b0 -TERMUX_PKG_FOLDERNAME=syncthing-${TERMUX_PKG_VERSION} +TERMUX_PKG_VERSION=0.14.28 +TERMUX_PKG_SRCURL=https://github.com/syncthing/syncthing/releases/download/v${TERMUX_PKG_VERSION}/syncthing-source-v${TERMUX_PKG_VERSION}.tar.gz +TERMUX_PKG_SHA256=dcf4bfcee979a2f5a0b2f971e26c9ba142ab125a1bdfaa68ddc7eb42cd23222d +TERMUX_PKG_FOLDERNAME=syncthing termux_step_make(){ termux_setup_golang @@ -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 }