~mdw
/
termux-packages
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
termux-api: Update from 0.26 to 0.27
[termux-packages]
/
packages
/
syncthing
/
build.sh
diff --git
a/packages/syncthing/build.sh
b/packages/syncthing/build.sh
index
1da2a21
..
6dd40e9
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.31
+TERMUX_PKG_VERSION=0.14.45
+TERMUX_PKG_SHA256=3236a12b3698f6eaef785348a26fea59f87398b2753c414d18844e5f7d7a655b
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=065bb38a5fbe951b41bc67f5a34653ebd92956e2a31e87322dfbdb12ff6f509b
-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 \