void-packages/srcpkgs/progress/template
2016-05-24 15:10:05 +02:00

22 lines
643 B
Bash

# Template file for progress'
pkgname=progress
version=0.13
revision=2
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=160cb6156a0b8df32a3944f3dcecba956ae3e5579e91d53c9d7417bc4956718c
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
}