From 63e5221fad225faaf9f7675207b3182e791db794 Mon Sep 17 00:00:00 2001 From: Tee KOBAYASHI Date: Sun, 16 Jan 2022 10:34:57 +0900 Subject: [PATCH] new package: up --- packages/up/build.sh | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) create mode 100644 packages/up/build.sh diff --git a/packages/up/build.sh b/packages/up/build.sh new file mode 100644 index 000000000..226c57cbc --- /dev/null +++ b/packages/up/build.sh @@ -0,0 +1,19 @@ +TERMUX_PKG_HOMEPAGE=https://github.com/akavel/up +TERMUX_PKG_DESCRIPTION="Helps interactively and incrementally explore textual data in Linux" +TERMUX_PKG_LICENSE="Apache-2.0" +TERMUX_PKG_MAINTAINER="@termux" +TERMUX_PKG_VERSION=0.4 +TERMUX_PKG_SRCURL=https://github.com/akavel/up.git +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 -Dm700 -t $TERMUX_PREFIX/bin up +}