# Template file for 'tokei'
pkgname=tokei
version=6.1.3
revision=1
hostmakedepends="cargo rust"
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=e6f4612963ee1449f712cadea1830d50bd3edb33d213ae38b1ffbac4fc44d2e3
nocross=yes

do_build() {
	cargo build --release
}

do_install() {
	vbin target/release/tokei
	vlicense LICENCE-APACHE
	vlicense LICENCE-MIT
}
