mirror of
https://github.com/void-linux/void-packages.git
synced 2025-06-07 23:53:51 +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'
|
# 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
|
||||||
|
|
Loading…
Add table
Reference in a new issue