void-packages/srcpkgs/tokei/template
maxice8 bdb1aaf281 tokei: update to 7.0.3.
Closes #14911.

Signed-off-by: Enno Boland <gottox@voidlinux.eu>
2018-06-05 09:16:26 +02:00

22 lines
521 B
Bash

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