void-packages/srcpkgs/cv/template

21 lines
532 B
Bash

# Template file for 'cv'
pkgname=cv
version=0.6
revision=1
maintainer="Dominik Honnef <dominik@honnef.co>"
makedepends="ncurses-devel"
license="GPL-3"
homepage="https://github.com/Xfennec/cv"
short_desc="Tool for showing the progress of cp, rm, dd and more"
distfiles="https://github.com/Xfennec/cv/archive/v${version}.tar.gz"
checksum=4291ab2f0c507df9eb694bf956ed65dc12bae3c492b795235142b5b87e2e2239
do_build() {
$CC $CFLAGS -D_FILE_OFFSET_BITS=64 cv.c sizes.c hlist.c -o cv -lncurses -lm
}
do_install() {
vbin cv
vman cv.1
}