diff --git a/packages/duc/build.sh b/packages/duc/build.sh new file mode 100644 index 000000000..0ad7fd140 --- /dev/null +++ b/packages/duc/build.sh @@ -0,0 +1,15 @@ +TERMUX_PKG_HOMEPAGE=http://duc.zevv.nl/ +TERMUX_PKG_DESCRIPTION="High-performance disk usage analyzer" +TERMUX_PKG_LICENSE="GPL-2.0" +TERMUX_PKG_MAINTAINER="Leonid Plyushch " +TERMUX_PKG_VERSION=1.4.4 +TERMUX_PKG_REVISION=8 +TERMUX_PKG_SRCURL=https://github.com/zevv/duc/releases/download/$TERMUX_PKG_VERSION/duc-$TERMUX_PKG_VERSION.tar.gz +TERMUX_PKG_SHA256=f4e7483dbeca4e26b003548f9f850b84ce8859bba90da89c55a7a147636ba922 +TERMUX_PKG_DEPENDS="leveldb, ncurses" +TERMUX_PKG_BUILD_IN_SRC=true + +TERMUX_PKG_EXTRA_CONFIGURE_ARGS=" +--disable-x11 +--with-db-backend=leveldb +--disable-cairo" diff --git a/packages/duc/cmd-ls.c.patch b/packages/duc/cmd-ls.c.patch new file mode 100644 index 000000000..d0389d8fd --- /dev/null +++ b/packages/duc/cmd-ls.c.patch @@ -0,0 +1,11 @@ +diff -uNr duc-1.4.4/src/duc/cmd-ls.c duc-1.4.4.mod/src/duc/cmd-ls.c +--- duc-1.4.4/src/duc/cmd-ls.c 2018-09-08 22:27:41.000000000 +0300 ++++ duc-1.4.4.mod/src/duc/cmd-ls.c 2019-02-05 21:37:24.412100024 +0200 +@@ -221,6 +221,7 @@ + duc_dir *dir = duc_dir_open(duc, path); + if(dir == NULL) { + duc_log(duc, DUC_LOG_FTL, "%s", duc_strerror(duc)); ++ return; + } + + if(opt_directory) {