mirror of
https://github.com/void-linux/void-packages.git
synced 2025-06-07 15:43:49 +02:00
nushell: enable extra features always
This commit is contained in:
parent
72b2779cb2
commit
d1f26f9068
1 changed files with 15 additions and 8 deletions
|
@ -1,10 +1,11 @@
|
|||
# Template file for 'nushell'
|
||||
pkgname=nushell
|
||||
version=0.27.0
|
||||
revision=1
|
||||
revision=2
|
||||
build_style=cargo
|
||||
hostmakedepends="pkg-config libgit2-devel"
|
||||
makedepends="libressl-devel libgit2-devel"
|
||||
configure_args="--features=extra"
|
||||
hostmakedepends="pkg-config python3 libgit2-devel"
|
||||
makedepends="libressl-devel libgit2-devel libX11-devel libxcb-devel"
|
||||
short_desc="Modern shell for the GitHub era"
|
||||
maintainer="Jan Christian Grünhage <jan.christian@gruenhage.xyz>"
|
||||
license="MIT"
|
||||
|
@ -16,11 +17,17 @@ 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_patch() {
|
||||
# pull in updates for https://github.com/alkis/decimal
|
||||
# the latest release (2.0.4) is missing fixes needed for
|
||||
# platforms with unsigned char type; pin it to a specific
|
||||
# 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() {
|
||||
vlicense LICENSE
|
||||
|
|
Loading…
Add table
Reference in a new issue