void-packages/srcpkgs/tokei/template
SolitudeSF 3806b44895 tokei: update to 7.0.1
Closes: #11071 [via git-merge-pr]
2018-01-31 02:26:55 +01:00

22 lines
517 B
Bash

# Template file for 'tokei'
pkgname=tokei
version=7.0.1
revision=1
hostmakedepends="cargo"
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=71c9be9ad04bc66501f5f54e74b5cf5e56fc1392ceead5525b743006145ac3a9
nocross=yes
do_build() {
cargo build --release
}
do_install() {
vbin target/release/tokei
vlicense LICENCE-APACHE
vlicense LICENCE-MIT
}