void-packages/srcpkgs/tokei/template
2018-08-30 21:36:16 -03:00

22 lines
521 B
Bash

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