new package: viddy
This commit is contained in:
parent
1fa57f1e7a
commit
f26881c10f
19
packages/viddy/build.sh
Normal file
19
packages/viddy/build.sh
Normal 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
|
||||
}
|
Loading…
Reference in New Issue
Block a user