diff --git a/Ports/AvailablePorts.md b/Ports/AvailablePorts.md index 93135eddb7..b16db59d8c 100644 --- a/Ports/AvailablePorts.md +++ b/Ports/AvailablePorts.md @@ -105,6 +105,7 @@ Please make sure to keep this list up to date when adding and updating ports. :^ | [`mysthous`](mysthous/) | Hi-Res Adventure #1: Mystery House | 1.0 | https://www.scummvm.org/games/#games-hires1 | | [`nano`](nano/) | GNU nano | 5.8 | https://www.nano-editor.org/ | | [`nasm`](nasm/) | Netwide Assembler (NASM) | 2.15.05 | https://www.nasm.us/ | +| [`ncdu`](ncdu/) | Ncdu | 1.16 | https://dev.yorhel.nl/ncdu | | [`ncurses`](ncurses/) | ncurses | 6.2 | https://invisible-island.net/ncurses/announce.html | | [`neofetch`](neofetch/) | neofetch | 7.1.0 | https://github.com/dylanaraps/neofetch | | [`nesalizer`](nesalizer/) | Nesalizer | | https://github.com/SerenityOS/nesalizer | diff --git a/Ports/ncdu/package.sh b/Ports/ncdu/package.sh new file mode 100755 index 0000000000..03019a20fb --- /dev/null +++ b/Ports/ncdu/package.sh @@ -0,0 +1,9 @@ +#!/usr/bin/env -S bash ../.port_include.sh +port=ncdu +useconfigure="true" +version="1.16" +files="https://dev.yorhel.nl/download/ncdu-${version}.tar.gz ncdu-${version}.tar.gz 2b915752a183fae014b5e5b1f0a135b4b408de7488c716e325217c2513980fd4" +auth_type=sha256 +depends="ncurses" + +export CFLAGS="-I${SERENITY_INSTALL_ROOT}/usr/local/include/ncurses"