cruxports/ncdu/Pkgfile

20 lines
555 B
Plaintext
Raw Normal View History

2022-02-05 15:39:19 -05:00
# 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
2023-09-19 21:26:04 -04:00
version=2.3
2022-02-05 15:39:19 -05:00
release=1
2022-12-23 08:44:10 -05:00
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)
2022-02-05 15:39:19 -05:00
build () {
mkdir -p $PKG/usr/bin
mkdir -p $PKG/usr/share/man/man1
2022-12-23 08:44:10 -05:00
install -m 0755 $name $PKG/usr/bin
2023-09-19 21:26:04 -04:00
pod2man $name-$version.pod > $PKG/usr/share/man/man1/$name.1
2022-02-05 15:39:19 -05:00
}