void-packages/srcpkgs/progress/template

22 lines
608 B
Bash

# Template file for 'progress'
pkgname=progress
version=0.17
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=ee9538fce98895dcf0d108087d3ee2e13f5c08ed94c983f0218a7a3d153b725d
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
}