void-packages/srcpkgs/tokei/template

23 lines
517 B
Bash

# Template file for 'tokei'
pkgname=tokei
version=7.0.1
revision=1
hostmakedepends="cargo"
short_desc="Count lines of code"
maintainer="Joseph LaFreniere <joseph@lafreniere.xyz>"
license="Apache, MIT"
homepage="https://github.com/Aaronepower/tokei"
distfiles="${homepage}/archive/v${version}.tar.gz"
checksum=71c9be9ad04bc66501f5f54e74b5cf5e56fc1392ceead5525b743006145ac3a9
nocross=yes
do_build() {
cargo build --release
}
do_install() {
vbin target/release/tokei
vlicense LICENCE-APACHE
vlicense LICENCE-MIT
}