@@ -2,10 +2,9 @@ TERMUX_PKG_HOMEPAGE=https://ipfs.io/
2
2
TERMUX_PKG_DESCRIPTION=" A peer-to-peer hypermedia distribution protocol"
3
3
TERMUX_PKG_LICENSE=" MIT"
4
4
TERMUX_PKG_MAINTAINER=" @termux"
5
- TERMUX_PKG_VERSION=0.12.2
6
- TERMUX_PKG_REVISION=1
5
+ TERMUX_PKG_VERSION=0.13.0
7
6
TERMUX_PKG_SRCURL=https://github.com/ipfs/go-ipfs/releases/download/v${TERMUX_PKG_VERSION} /go-ipfs-source.tar.gz
8
- TERMUX_PKG_SHA256=eba34d2cc49f7811d087f4259c44c1fecb2b6bd08a6c3fa3b5a26e5fed78c74d
7
+ TERMUX_PKG_SHA256=784207b26b43def178f115451c4cf6f20915bfbbb9d2930113c67ea1a33aa4b3
9
8
TERMUX_PKG_AUTO_UPDATE=true
10
9
TERMUX_PKG_SUGGESTS=" termux-services"
11
10
TERMUX_PKG_SERVICE_SCRIPT=(" ipfs" " [ ! -d \" ${TERMUX_ANDROID_HOME} /.ipfs\" ] && ipfs init --empty-repo 2>&1 && ipfs config --json Swarm.EnableRelayHop false 2>&1 && ipfs config --json Swarm.EnableAutoRelay true 2>&1; exec ipfs daemon --enable-namesys-pubsub 2>&1" )
@@ -19,16 +18,10 @@ termux_step_make() {
19
18
cp -a " ${TERMUX_PKG_SRCDIR} " " ${GOPATH} /src/github.com/ipfs/go-ipfs"
20
19
cd " ${GOPATH} /src/github.com/ipfs/go-ipfs"
21
20
22
- # Needed to build against go 1.18.
23
- # TODO: Remove after https://github.com/ipfs/go-ipfs/issues/8819 is resolved.
24
- go get github.com/lucas-clemente/quic-go@v0.26.0
25
- go mod edit -go=1.18 # qo-qtls needs go 1.18
26
- go mod tidy && go mod vendor
27
-
28
21
make build
29
22
30
23
# Fix folders without write permissions preventing which fails repeating builds:
31
- cd $TERMUX_PKG_BUILDDIR
24
+ cd " $TERMUX_PKG_BUILDDIR "
32
25
find . -type d -exec chmod u+w {} \;
33
26
}
34
27
0 commit comments