nushell: raw-cpuid only for x86, set archs properly

This commit is contained in:
q66 2019-12-07 01:13:54 +01:00
parent a530b8a71b
commit bc803e41a2
1 changed files with 4 additions and 4 deletions

View File

@ -2,6 +2,10 @@
pkgname=nushell
version=0.6.1
revision=1
# raw-cpuid does not support other archs
# https://github.com/nushell/nushell/issues/485
# remove when the issue is fixed (should fix all archs)
archs="x86_64* i686*"
wrksrc="nu-${version}"
build_style=cargo
hostmakedepends="pkg-config"
@ -13,10 +17,6 @@ homepage="https://www.nushell.sh/"
distfiles="https://static.crates.io/crates/nu/nu-${version}.crate"
checksum=882549e55b418f11a56a5ed0c528268338d9af9fee88c8b9e0be0dcd4169d238
case $XBPS_TARGET_MACHINE in
aarch64*|arm*) broken="ARM is not supported right now: https://github.com/nushell/nushell/issues/485"
esac
post_install() {
vlicense LICENSE
}