mirror of
https://github.com/termux/termux-packages.git
synced 2024-12-12 00:10:52 +00:00
ec4ecf2215
This commit has been automatically submitted by Github Actions.
25 lines
648 B
Bash
25 lines
648 B
Bash
TERMUX_PKG_HOMEPAGE=https://www.storj.io/integrations/uplink-cli
|
|
TERMUX_PKG_DESCRIPTION="Storj DCS Uplink CLI"
|
|
TERMUX_PKG_LICENSE="AGPL-V3"
|
|
TERMUX_PKG_MAINTAINER="@termux"
|
|
TERMUX_PKG_VERSION="1.116.7"
|
|
TERMUX_PKG_SRCURL=https://github.com/storj/storj/archive/refs/tags/v${TERMUX_PKG_VERSION}.tar.gz
|
|
TERMUX_PKG_SHA256=e1acf544de1afb94e3ed84196acbe741db7c3df3dd4293b61839e8cfee7e4354
|
|
TERMUX_PKG_AUTO_UPDATE=true
|
|
TERMUX_PKG_BUILD_IN_SRC=true
|
|
|
|
termux_step_pre_configure() {
|
|
termux_setup_golang
|
|
|
|
go mod init || :
|
|
go mod tidy
|
|
}
|
|
|
|
termux_step_make() {
|
|
go build ./cmd/uplink
|
|
}
|
|
|
|
termux_step_make_install() {
|
|
install -Dm700 -t $TERMUX_PREFIX/bin uplink
|
|
}
|