~mdw
/
termux-packages
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
gnupg2: Update from 2.2.4 to 2.2.5
[termux-packages]
/
packages
/
syncthing
/
build.sh
diff --git
a/packages/syncthing/build.sh
b/packages/syncthing/build.sh
index
ec3b933
..
f0d1da4
100644
(file)
--- a/
packages/syncthing/build.sh
+++ b/
packages/syncthing/build.sh
@@
-1,9
+1,8
@@
TERMUX_PKG_HOMEPAGE=https://syncthing.net/
TERMUX_PKG_DESCRIPTION="Decentralized file synchronization"
TERMUX_PKG_HOMEPAGE=https://syncthing.net/
TERMUX_PKG_DESCRIPTION="Decentralized file synchronization"
-TERMUX_PKG_VERSION=0.14.30
+TERMUX_PKG_VERSION=0.14.43
+TERMUX_PKG_SHA256=bb0250e0bafce690a8ce3f43f0ab8349874ac1c8f3cdc224ed5d0110099bbd9c
TERMUX_PKG_SRCURL=https://github.com/syncthing/syncthing/releases/download/v${TERMUX_PKG_VERSION}/syncthing-source-v${TERMUX_PKG_VERSION}.tar.gz
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=cc1ad821f184eeeb183b6dff0736f54ed5e3e4310f75d8d83d1ff6f460f7ca9f
-TERMUX_PKG_FOLDERNAME=syncthing
termux_step_make(){
termux_setup_golang
termux_step_make(){
termux_setup_golang
@@
-22,10
+21,12
@@
termux_step_make(){
# Unset GOARCH so building build.go is works.
export GO_ARCH=$GOARCH
# Unset GOARCH so building build.go is works.
export GO_ARCH=$GOARCH
- unset GOOS GOARCH
-
+ export _CC=$CC
+ unset GOOS GOARCH CC
+
# Now file structure is same as go get etc.
go build build.go
# Now file structure is same as go get etc.
go build build.go
+ export CC=$_CC
./build -goos android \
-goarch $GO_ARCH \
-no-upgrade \
./build -goos android \
-goarch $GO_ARCH \
-no-upgrade \