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