mirror of
https://github.com/termux/termux-packages.git
synced 2024-12-12 14:13:36 +00:00
18 lines
579 B
Bash
18 lines
579 B
Bash
TERMUX_PKG_HOMEPAGE=https://git.sr.ht/~xenrox/hut
|
|
TERMUX_PKG_DESCRIPTION="A CLI tool for sr.ht"
|
|
TERMUX_PKG_LICENSE="AGPL-V3"
|
|
TERMUX_PKG_MAINTAINER="@termux"
|
|
TERMUX_PKG_VERSION="0.6.0"
|
|
TERMUX_PKG_SRCURL=https://git.sr.ht/~xenrox/hut/refs/download/v${TERMUX_PKG_VERSION}/hut-${TERMUX_PKG_VERSION}.tar.gz
|
|
TERMUX_PKG_SHA256=b4b5397b7d2d34c1e8acf94ec655378922282bd4ed43ad27c4d4efa1f18757bf
|
|
TERMUX_PKG_AUTO_UPDATE=true
|
|
TERMUX_PKG_BUILD_IN_SRC=true
|
|
TERMUX_PKG_EXTRA_MAKE_ARGS="PREFIX=$TERMUX_PREFIX"
|
|
|
|
termux_step_pre_configure() {
|
|
termux_setup_golang
|
|
|
|
go mod init || :
|
|
go mod tidy
|
|
}
|