1
0
mirror of https://github.com/termux/termux-packages synced 2024-06-17 23:07:09 +00:00
termux-packages/packages/restish/build.sh
Termux Github Actions fe28a98aee bump(main/restish): 0.15.2
This commit has been automatically submitted by Github Actions.
2022-12-16 18:14:01 +00:00

24 lines
663 B
Bash

TERMUX_PKG_HOMEPAGE="https://github.com/danielgtaylor/restish"
TERMUX_PKG_DESCRIPTION="A CLI for interacting with REST-ish HTTP APIs"
TERMUX_PKG_LICENSE="MIT"
TERMUX_PKG_LICENSE_FILE="LICENSE.md"
TERMUX_PKG_MAINTAINER="@termux"
TERMUX_PKG_VERSION="0.15.2"
TERMUX_PKG_SRCURL="https://github.com/danielgtaylor/restish/archive/v$TERMUX_PKG_VERSION.tar.gz"
TERMUX_PKG_SHA256=098ecdd30fb2393627a50283518c9aa98686aa641d1c9bf37142f1541fd0f8c8
TERMUX_PKG_AUTO_UPDATE=true
TERMUX_PKG_BUILD_IN_SRC=true
termux_step_make() {
termux_setup_golang
go mod init || :
go mod tidy
go build
}
termux_step_make_install() {
install -Dm755 -t "${TERMUX_PREFIX}/bin" restish
}