mirror of
https://github.com/void-linux/void-packages.git
synced 2025-08-04 03:42:56 +02:00
starship: unbreak on most ppc
This commit is contained in:
parent
6589c7d196
commit
af0665d7e2
1 changed files with 7 additions and 2 deletions
|
@ -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
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Reference in a new issue