void-packages/srcpkgs/cloc/template

21 lines
477 B
Bash

# Template file for 'cloc'
pkgname=cloc
version=1.90
revision=1
hostmakedepends="perl"
depends="perl"
short_desc="Count Lines of Code"
maintainer="Leah Neukirchen <leah@vuxu.org>"
license="GPL-2.0-or-later"
homepage="https://github.com/AlDanial/cloc"
distfiles="https://github.com/AlDanial/cloc/archive/v${version}.tar.gz"
checksum=60b429dd2aa5cd65707b359dcbcbeb710c8e4db880886528ced0962c67e52548
do_build() {
make -C Unix man
}
do_install() {
vbin cloc
vman Unix/cloc.1
}