0
0
mirror of https://github.com/termux/termux-packages.git synced 2025-10-13 05:44:49 +00:00
Files
termux-packages/packages/flyctl/build.sh
Termux Github Actions e9643d4be7 bump(main/flyctl): 0.3.112
This commit has been automatically submitted by Github Actions.
2025-04-29 18:22:13 +00:00

25 lines
729 B
Bash

TERMUX_PKG_HOMEPAGE=https://fly.io
TERMUX_PKG_DESCRIPTION="Command line tools for fly.io services"
TERMUX_PKG_LICENSE="Apache-2.0"
TERMUX_PKG_MAINTAINER="Yaksh Bariya <thunder-coding@termux.dev>"
TERMUX_PKG_VERSION="0.3.112"
TERMUX_PKG_SRCURL=https://github.com/superfly/flyctl/archive/v$TERMUX_PKG_VERSION.tar.gz
TERMUX_PKG_SHA256=ded72b792bf31f9f819dc1ab3d313e2494850a7eaf89fb7c086b8cb410bcd600
TERMUX_PKG_AUTO_UPDATE=true
TERMUX_PKG_BUILD_IN_SRC=true
TERMUX_PKG_EXCLUDED_ARCHES="i686, arm"
termux_step_post_get_source() {
termux_setup_golang
go mod tidy
go mod vendor
}
termux_step_make() {
go build -o bin/flyctl
}
termux_step_make_install() {
install -Dm700 -t "$TERMUX_PREFIX"/bin "$TERMUX_PKG_SRCDIR/bin/flyctl"
}