void-packages/srcpkgs/tokei/template

23 lines
521 B
Bash

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