void-packages/srcpkgs/tokei/template

23 lines
522 B
Bash

# Template file for 'tokei'
pkgname=tokei
version=6.1.2
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=736bab89800c397acc3be961af12b80acc2ca71dc990792fff8935018a2f0698
nocross=yes
do_build() {
cargo build --release
}
do_install() {
vbin target/release/tokei
vlicense LICENCE-APACHE
vlicense LICENCE-MIT
}