new package: gdu

This commit is contained in:
Freed-Wu 2022-03-31 12:38:17 +08:00 committed by xtkoba
parent 6586f5bcbf
commit 664c8f2d07
1 changed files with 22 additions and 0 deletions

22
packages/gdu/build.sh Normal file
View File

@ -0,0 +1,22 @@
TERMUX_PKG_HOMEPAGE=https://github.com/dundee/gdu
TERMUX_PKG_DESCRIPTION="Modern and intuitive terminal-based text editor"
TERMUX_PKG_LICENSE="MIT"
TERMUX_PKG_MAINTAINER="@termux"
TERMUX_PKG_VERSION=5.13.2
TERMUX_PKG_SRCURL=https://github.com/dundee/gdu/archive/v$TERMUX_PKG_VERSION.tar.gz
TERMUX_PKG_SHA256=f4f237f6da470599f6393591282cfd67922a963325859a939ca40ba7e18024a8
TERMUX_PKG_AUTO_UPDATE=true
TERMUX_PKG_BUILD_IN_SRC=true
termux_step_make() {
return
}
termux_step_make_install() {
termux_setup_golang
make build
install -D dist/gdu -t $TERMUX_PREFIX/bin
make gdu.1
install -Dm644 gdu.1 -t $TERMUX_PREFIX/share/man/man1
}