new package: viddy

This commit is contained in:
Tee KOBAYASHI 2022-01-16 10:43:27 +09:00 committed by Leonid Pliushch
parent 1fa57f1e7a
commit f26881c10f

19
packages/viddy/build.sh Normal file
View File

@ -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
}