cruxports/ncdu/Pkgfile

18 lines
449 B
Plaintext

# Description: disk usage analyzer, rewritten in Zig
# URL: https://dev.yorhel.nl/ncdu
# Maintainer: John McQuah, jmcquah at disroot dot org
# Depends on: ncurses
name=ncdu
version=2.1.2
release=1
source=(https://dev.yorhel.nl/download/$name-$version-linux-x86_64.tar.gz ncdu.1)
build () {
mkdir -p $PKG/usr/bin
mkdir -p $PKG/usr/share/man/man1
install -m 0755 ncdu $PKG/usr/bin
gzip -c ncdu.1 > $PKG/usr/share/man/man1/ncdu.1.gz
}