void-packages/srcpkgs/tokei/template

23 lines
613 B
Bash

# Template file for 'tokei'
pkgname=tokei
version=12.1.2
revision=3
build_style=cargo
configure_args="--features all"
short_desc="Count lines of code"
maintainer="Jan Christian Grünhage <jan.christian@gruenhage.xyz>"
license="Apache-2.0, MIT"
homepage="https://github.com/XAMPPRocky/tokei"
distfiles="https://github.com/XAMPPRocky/tokei/archive/v$version.tar.gz"
checksum=81ef14ab8eaa70a68249a299f26f26eba22f342fb8e22fca463b08080f436e50
# on i686 LLVM has problems with compiling doctests
case "$XBPS_TARGET_MACHINE" in
i686) make_check_args+=" --tests";;
*) ;;
esac
post_install() {
vlicense LICENCE-MIT
}