From f26881c10fadd41b8357ad086ce28b7193bfc0a4 Mon Sep 17 00:00:00 2001 From: Tee KOBAYASHI Date: Sun, 16 Jan 2022 10:43:27 +0900 Subject: [PATCH] new package: viddy --- packages/viddy/build.sh | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) create mode 100644 packages/viddy/build.sh diff --git a/packages/viddy/build.sh b/packages/viddy/build.sh new file mode 100644 index 000000000..744266d86 --- /dev/null +++ b/packages/viddy/build.sh @@ -0,0 +1,19 @@ +TERMUX_PKG_HOMEPAGE=https://github.com/sachaos/viddy +TERMUX_PKG_DESCRIPTION="A modern watch command" +TERMUX_PKG_LICENSE="MIT" +TERMUX_PKG_MAINTAINER="@termux" +TERMUX_PKG_VERSION=0.3.4 +TERMUX_PKG_SRCURL=https://github.com/sachaos/viddy.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 viddy +}