nushell: enable extra features always

This commit is contained in:
q66 2021-02-17 02:24:07 +01:00
parent 72b2779cb2
commit d1f26f9068

View file

@ -1,10 +1,11 @@
# Template file for 'nushell' # Template file for 'nushell'
pkgname=nushell pkgname=nushell
version=0.27.0 version=0.27.0
revision=1 revision=2
build_style=cargo build_style=cargo
hostmakedepends="pkg-config libgit2-devel" configure_args="--features=extra"
makedepends="libressl-devel libgit2-devel" hostmakedepends="pkg-config python3 libgit2-devel"
makedepends="libressl-devel libgit2-devel libX11-devel libxcb-devel"
short_desc="Modern shell for the GitHub era" short_desc="Modern shell for the GitHub era"
maintainer="Jan Christian Grünhage <jan.christian@gruenhage.xyz>" maintainer="Jan Christian Grünhage <jan.christian@gruenhage.xyz>"
license="MIT" license="MIT"
@ -16,11 +17,17 @@ register_shell="/usr/bin/nu"
# all tests fail with argument --target # all tests fail with argument --target
make_check=no make_check=no
case "$XBPS_TARGET_MACHINE" in post_patch() {
x86_64*|i686*) # pull in updates for https://github.com/alkis/decimal
configure_args="--features=extra" # the latest release (2.0.4) is missing fixes needed for
makedepends+=" libX11-devel libxcb-devel" ;; # platforms with unsigned char type; pin it to a specific
esac # revision until a new release is made
#
# remove this post_patch once that has happened
echo '[patch.crates-io.decimal]' >> Cargo.toml
echo 'git = "https://github.com/alkis/decimal"' >> Cargo.toml
echo 'rev = "c27d9a165afc55ec98fb4db79b12841df578387e"' >> Cargo.toml
}
post_install() { post_install() {
vlicense LICENSE vlicense LICENSE