starship: unbreak on most ppc

This commit is contained in:
q66 2020-02-12 17:42:28 +01:00
parent 6589c7d196
commit af0665d7e2

View file

@ -1,7 +1,7 @@
# Template file for 'starship'
pkgname=starship
version=0.35.1
revision=1
revision=2
build_style=cargo
build_helper="rust"
hostmakedepends="pkg-config"
@ -14,9 +14,14 @@ distfiles="https://github.com/starship/starship/archive/v${version}.tar.gz"
checksum=22b4bf8bfe45d492d69433942e02731b141091f11b03860cb02d21f4f2431285
case "$XBPS_TARGET_MACHINE" in
ppc*) broken="ftbfs in ring";;
ppc-musl) broken="rustc sigsegv";;
esac
pre_build() {
vsed -i '/reqwest =/s/, "rustls-tls"//' Cargo.toml
cargo update
}
post_install() {
vlicense LICENSE
}