cruxports/ncdu/Pkgfile
2022-12-23 08:44:10 -05:00

20 lines
570 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.2.1
release=1
source=(https://dev.yorhel.nl/download/$name-$version-linux-x86_64.tar.gz
https://code.blicky.net/yorhel/$name/raw/branch/zig/$name.pod)
renames=(SKIP $name-$version.pod)
build () {
mkdir -p $PKG/usr/bin
mkdir -p $PKG/usr/share/man/man1
install -m 0755 $name $PKG/usr/bin
pod2man $name-$version.pod | gzip -c > $PKG/usr/share/man/man1/$name.1.gz
}