void-packages/srcpkgs/progress/template

23 lines
633 B
Bash
Raw Normal View History

# Template file for progress'
pkgname=progress
2015-09-13 15:38:07 +00:00
version=0.9
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"
2015-09-13 15:38:07 +00:00
checksum=63e1834ec114ccc1de3d11722131b5975e475bfd72711d457e21ddd7fd16b6bd
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
}