void-packages/srcpkgs/progress/template
2015-09-13 17:38:07 +02:00

22 lines
633 B
Bash

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