Browse Source

move from unstable: duc

emacs-27
Leonid Plyushch 5 years ago
parent
commit
5fc8ef1c74
No known key found for this signature in database GPG Key ID: 45F2964132545795
  1. 15
      packages/duc/build.sh
  2. 11
      packages/duc/cmd-ls.c.patch

15
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 <leonid.plyushch@gmail.com>"
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"

11
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) {
Loading…
Cancel
Save