ipfs: update to 0.8.0 & support termux-services

This commit is contained in:
Leonid Pliushch 2021-02-20 13:22:05 +02:00
parent 77619943e2
commit c7b24366f6
No known key found for this signature in database
GPG Key ID: 45F2964132545795
1 changed files with 4 additions and 2 deletions

View File

@ -2,9 +2,11 @@ TERMUX_PKG_HOMEPAGE=https://ipfs.io/
TERMUX_PKG_DESCRIPTION="A peer-to-peer hypermedia distribution protocol"
TERMUX_PKG_LICENSE="MIT"
TERMUX_PKG_MAINTAINER="Leonid Pliushch <leonid.pliushch@gmail.com>"
TERMUX_PKG_VERSION=0.7.0
TERMUX_PKG_VERSION=0.8.0
TERMUX_PKG_SRCURL=https://github.com/ipfs/go-ipfs/releases/download/v${TERMUX_PKG_VERSION}/go-ipfs-source.tar.gz
TERMUX_PKG_SHA256=c349802561a61c1efeade4e3e681723b76e9192edacc5a955cf5f68e49e57fba
TERMUX_PKG_SHA256=b8adfe124af900cea69869a31528f5468b66e696c7eb9ec161494ff41dfd584c
TERMUX_PKG_SUGGESTS="termux-services"
TERMUX_PKG_SERVICE_SCRIPT=("ipfs" '[ ! -d "${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')
termux_step_make() {
termux_setup_golang