void-packages/srcpkgs/cloc/template

21 lines
477 B
Bash

# Template file for 'cloc'
pkgname=cloc
version=1.92
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=b5f18f4dbc05eff08ada215b6c2a8cbdab397e9b4b4e25c7427d4ed86fb6e248
do_build() {
make -C Unix man
}
do_install() {
vbin cloc
vman Unix/cloc.1
}