void-packages/srcpkgs/loc/template

21 lines
508 B
Bash

# Template file for 'loc'
pkgname=loc
version=0.4.1
revision=3
build_style=cargo
short_desc="Count lines of code quickly"
maintainer="SolitudeSF <solitudesf@protonmail.com>"
license="MIT"
homepage="https://github.com/cgag/loc"
distfiles="${homepage}/archive/v${version}.tar.gz"
checksum=1e8403fd9a3832007f28fb389593cd6a572f719cd95d85619e7bbcf3dbea18e5
pre_build() {
# default version too old for ppc musl systems
cargo update --package libc@0.2.32 --precise 0.2.66
}
post_install() {
vlicense LICENSE
}