void-packages/srcpkgs/progress/template
2018-06-28 16:31:33 +02:00

23 lines
661 B
Bash

# Template file for progress'
pkgname=progress
version=0.14
revision=1
maintainer="Leah Neukirchen <leah@vuxu.org>"
makedepends="ncurses-devel"
license="GPL-3.0-or-later"
homepage="https://github.com/Xfennec/progress"
short_desc="Tool for showing the progress of cp, rm, dd and more"
distfiles="https://github.com/Xfennec/progress/archive/v${version}.tar.gz"
checksum=214a0d84b3ee5dde57ec9952ec9aa68ad9261fb336ef025324b344ed7ab48af1
provides="cv-${version}_${revision}"
replaces="cv>=0"
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
}