void-packages/srcpkgs/progress/template

23 lines
633 B
Bash
Raw Normal View History

# Template file for progress'
pkgname=progress
version=0.8
revision=1
maintainer="Dominik Honnef <dominik@honnef.co>"
makedepends="ncurses-devel"
license="GPL-3"
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=52ad6d805eb9826de297ba495cfde3df1deb6288f97ff67e7f93431efa006d34
provides="cv-${version}_${revision}"
replaces="cv>=0"
do_build() {
$CC $CFLAGS -D_FILE_OFFSET_BITS=64 progress.c sizes.c hlist.c -o progress -lncurses -lm
}
do_install() {
vbin progress
vman progress.1
}