Files
termux-packages/packages/fx/build.sh
termux-pacman-bot 97c15a93ee bump(main/fx): 38.0.0
This commit has been automatically submitted by Github Actions.
2025-07-22 12:48:30 +00:00

20 lines
605 B
Bash

TERMUX_PKG_HOMEPAGE="https://github.com/antonmedv/fx"
TERMUX_PKG_DESCRIPTION="Interactive JSON viewer on your terminal"
TERMUX_PKG_LICENSE="MIT"
TERMUX_PKG_MAINTAINER="@flosnvjx"
TERMUX_PKG_VERSION="38.0.0"
TERMUX_PKG_SRCURL="https://github.com/antonmedv/fx/archive/refs/tags/$TERMUX_PKG_VERSION.tar.gz"
TERMUX_PKG_SHA256=b9c4b935852cb9c3bae39b1c1293a8bfb010c5d79ce71a1ea6197002a5291613
TERMUX_PKG_BUILD_IN_SRC=true
TERMUX_PKG_AUTO_UPDATE=true
termux_step_make() {
termux_setup_golang
mkdir bin
go build -o ./bin -trimpath
}
termux_step_make_install() {
install -Dm700 -t $TERMUX_PREFIX/bin bin/*
}