From 5f066d70da0b64fbeb0a25c9df671e4d308f6402 Mon Sep 17 00:00:00 2001 From: John McQuah Date: Thu, 1 Aug 2024 11:55:21 +0000 Subject: [PATCH] ncdu: adopted port, version 2.5 --- ncdu/.footprint | 7 +++++++ ncdu/.signature | 5 +++++ ncdu/Pkgfile | 17 +++++++++++++++++ 3 files changed, 29 insertions(+) create mode 100644 ncdu/.footprint create mode 100644 ncdu/.signature create mode 100644 ncdu/Pkgfile diff --git a/ncdu/.footprint b/ncdu/.footprint new file mode 100644 index 000000000..113cd6950 --- /dev/null +++ b/ncdu/.footprint @@ -0,0 +1,7 @@ +drwxr-xr-x root/root usr/ +drwxr-xr-x root/root usr/bin/ +-rwxr-xr-x root/root usr/bin/ncdu +drwxr-xr-x root/root usr/share/ +drwxr-xr-x root/root usr/share/man/ +drwxr-xr-x root/root usr/share/man/man1/ +-rw-r--r-- root/root usr/share/man/man1/ncdu.1.gz diff --git a/ncdu/.signature b/ncdu/.signature new file mode 100644 index 000000000..7ffa253b6 --- /dev/null +++ b/ncdu/.signature @@ -0,0 +1,5 @@ +untrusted comment: verify with /etc/ports/opt.pub +RWSE3ohX2g5d/dY0RSebPNFym0X+O82zAVFXtDbnpx4m9bolQzfO0kHs2p/7GGloO5ogr8aKaRqXcKQ1vlX6Ip0NmAOhXMdFng4= +SHA256 (Pkgfile) = 1553d6196c32e7390458d15c2e9c44367e2e2b064ddd4a6fd0ec2cb0b30a4b63 +SHA256 (.footprint) = 28b3a45f7809ec9fe4cc3c0f4b48d291960afd02f9615e0d97c4cbdd1567ecec +SHA256 (ncdu-2.5.tar.gz) = 7f49de25024abab1af1ff22b3b8542c0d158e018fe0e96074fd94b0e1e6d31a5 diff --git a/ncdu/Pkgfile b/ncdu/Pkgfile new file mode 100644 index 000000000..ad3ec2fe7 --- /dev/null +++ b/ncdu/Pkgfile @@ -0,0 +1,17 @@ +# Description: disk usage analyzer, rewritten in Zig +# URL: https://dev.yorhel.nl/ncdu +# Maintainer: John McQuah, jmcquah at disroot dot org +# Depends on: zig + +name=ncdu +version=2.5 +release=1 +source=(https://dev.yorhel.nl/download/$name-$version.tar.gz) + +build () { + cd $name-$version + + zig build --release=fast + install -D -m 0755 zig-out/bin/$name $PKG/usr/bin/$name + install -D -m 0644 $name.1 $PKG/usr/share/man/man1/$name.1 +}