2021-07-14 16:12:14 +02:00
|
|
|
TERMUX_PKG_HOMEPAGE=https://www.bittorrent.com/btfs/
|
|
|
|
TERMUX_PKG_DESCRIPTION="Decentralized file system integrating with TRON network"
|
|
|
|
TERMUX_PKG_LICENSE="Apache-2.0, MIT"
|
|
|
|
TERMUX_PKG_MAINTAINER="Leonid Pliushch <leonid.pliushch@gmail.com>"
|
2021-08-20 14:13:22 +02:00
|
|
|
TERMUX_PKG_VERSION=1.5.2
|
2021-08-24 21:10:15 +02:00
|
|
|
TERMUX_PKG_REVISION=1
|
2021-07-14 16:12:14 +02:00
|
|
|
TERMUX_PKG_SRCURL=https://github.com/TRON-US/go-btfs/archive/refs/tags/btfs-v${TERMUX_PKG_VERSION}.tar.gz
|
2021-08-20 14:13:22 +02:00
|
|
|
TERMUX_PKG_SHA256=a7054a8cce28a6dee6f6eb1be262309128bbca8d572ca73154907997fd97d7ed
|
2021-07-14 16:12:14 +02:00
|
|
|
TERMUX_PKG_BUILD_IN_SRC=true
|
|
|
|
|
|
|
|
termux_step_make() {
|
|
|
|
termux_setup_golang
|
|
|
|
export GOPATH=$TERMUX_PKG_CACHEDIR/go
|
|
|
|
|
|
|
|
make build
|
|
|
|
}
|
|
|
|
|
|
|
|
termux_step_make_install() {
|
|
|
|
install -Dm700 -t $TERMUX_PREFIX/bin $TERMUX_PKG_SRCDIR/cmd/btfs/btfs
|
|
|
|
}
|