void-packages/srcpkgs/progress/template
2021-03-08 10:33:45 +01:00

21 lines
608 B
Bash

# Template file for 'progress'
pkgname=progress
version=0.16
revision=1
makedepends="ncurses-devel"
short_desc="Tool for showing the progress of cp, rm, dd and more"
maintainer="Leah Neukirchen <leah@vuxu.org>"
license="GPL-3.0-or-later"
homepage="https://github.com/Xfennec/progress"
distfiles="https://github.com/Xfennec/progress/archive/v${version}.tar.gz"
checksum=59944ee35f8ae6d62ed4f9b643eee2ae6d03825da288d9779dc43de41164c834
do_build() {
${CC} ${CFLAGS} -D_FILE_OFFSET_BITS=64 \
progress.c sizes.c hlist.c -o progress ${LDFLAGS} -lncurses -lm
}
do_install() {
vbin progress
vman progress.1
}