1
0
mirror of https://github.com/termux/termux-packages synced 2024-06-15 08:56:40 +00:00
termux-packages/packages/dasel/build.sh
Termux Github Actions 253fb3dc04 bump(main/dasel): 2.4.1
This commit has been automatically submitted by Github Actions.
2023-10-19 00:23:15 +00:00

21 lines
737 B
Bash

TERMUX_PKG_HOMEPAGE=https://github.com/TomWright/dasel
TERMUX_PKG_DESCRIPTION="Select, put and delete data from JSON, TOML, YAML, XML and CSV files with a single utility"
TERMUX_PKG_LICENSE="MIT"
TERMUX_PKG_MAINTAINER="@termux"
TERMUX_PKG_VERSION="2.4.1"
TERMUX_PKG_SRCURL=https://github.com/TomWright/dasel/archive/refs/tags/v$TERMUX_PKG_VERSION.tar.gz
TERMUX_PKG_SHA256=eb44263c792ff3b31e5a5086d01b471d07a4282af6716932f12f76bb8cd4eebd
TERMUX_PKG_BUILD_IN_SRC=true
TERMUX_PKG_AUTO_UPDATE=true
termux_step_make() {
termux_setup_golang
mkdir bin
go build -o ./bin -trimpath ./cmd/dasel
}
termux_step_make_install() {
install -Dm700 -t $TERMUX_PREFIX/bin bin/*
install -Dm600 -t $TERMUX_PREFIX/share/doc/$TERMUX_PKG_NAME README.*
}