void-packages/srcpkgs/progress/template

23 lines
645 B
Bash

# Template file for progress'
pkgname=progress
version=0.13.1
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=064c95e8b93893dbf4b4b8152290cbb3b0c005eda0cae500353561048c9939a5
provides="cv-${version}_${revision}"
replaces="cv>=0"
do_build() {
$CC $CFLAGS $LDFLAGS -D_FILE_OFFSET_BITS=64 progress.c sizes.c hlist.c -o progress -lncurses -lm
}
do_install() {
vbin progress
vman progress.1
}