void-packages/srcpkgs/tokei/template

23 lines
522 B
Bash

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