loc: fix build on ppc*-musl

This commit is contained in:
q66 2019-12-19 17:09:28 +01:00
parent 206bdb63e7
commit 24d246c388

View file

@ -10,6 +10,11 @@ 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 --precise 0.2.66
}
post_install() {
vlicense LICENSE
}