nushell: update to 0.27.0

Also enable extra features for x86_64* and i686*
This commit is contained in:
FollieHiyuki 2021-01-30 21:29:13 +03:00 committed by Érico Nogueira Rolim
parent 48817f2955
commit c3b26feb83

View file

@ -1,22 +1,26 @@
# Template file for 'nushell'
pkgname=nushell
version=0.21.0
version=0.27.0
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"
makedepends="libressl-devel"
hostmakedepends="pkg-config libgit2-devel"
makedepends="libressl-devel libgit2-devel"
short_desc="Modern shell for the GitHub era"
maintainer="Jan Christian Grünhage <jan.christian@gruenhage.xyz>"
license="MIT"
homepage="https://www.nushell.sh/"
changelog="https://www.nushell.sh/blog/"
distfiles="https://static.crates.io/crates/nu/nu-${version}.crate"
checksum=44b0dc4127433373d6ce1b5ba50c56780f23b861654fce3b48d5b599758e772c
distfiles="https://github.com/nushell/nushell/archive/${version}.tar.gz"
checksum=0d086c660af2e6e286fcac0d0063607bd302961ba542a087145f6a3948fd7130
register_shell="/usr/bin/nu"
# all tests fail with argument --target
make_check=no
case "$XBPS_TARGET_MACHINE" in
x86_64*|i686*)
configure_args="--features=extra"
makedepends+=" libX11-devel libxcb-devel" ;;
esac
post_install() {
vlicense LICENSE