From 0f7434d7e65cd96773fd70ca7f6cbeb18c1e83d6 Mon Sep 17 00:00:00 2001 From: tranzystorekk Date: Sun, 28 Dec 2025 21:21:32 +0100 Subject: [PATCH] fish-shell: update to 4.3.2 --- srcpkgs/fish-shell/template | 16 ++++++++++------ 1 file changed, 10 insertions(+), 6 deletions(-) diff --git a/srcpkgs/fish-shell/template b/srcpkgs/fish-shell/template index d4aecd1f896fda..5a63be32256f2d 100644 --- a/srcpkgs/fish-shell/template +++ b/srcpkgs/fish-shell/template @@ -1,12 +1,12 @@ # Template file for 'fish-shell' pkgname=fish-shell -version=4.2.1 +version=4.3.2 revision=1 build_style=cmake build_helper="rust" configure_args="-DCMAKE_BUILD_TYPE=Release -DRust_CARGO=${XBPS_WRAPPERDIR}/cargo" make_check_target="fish_run_tests" -hostmakedepends="gettext pkg-config cargo cargo-auditable" +hostmakedepends="gettext pkg-config cargo cargo-auditable python3-Sphinx" makedepends="pcre2-devel rust-std" checkdepends="git mdocml python3-pexpect procps-ng" short_desc="User friendly shell intended mostly for interactive use" @@ -15,16 +15,20 @@ license="GPL-2.0-only" homepage="https://fishshell.com/" changelog="https://raw.githubusercontent.com/fish-shell/fish-shell/refs/heads/master/CHANGELOG.rst" distfiles="https://github.com/fish-shell/fish-shell/releases/download/${version}/fish-${version}.tar.xz" -checksum=0f99222a3063377c91fbf78d9850edab7a0b91bdbed201cf79da48ea3a41f393 +checksum=36a09cfc7fc2d1f1d0b6f5caf3828998621721f8c60a7a31ec55679286a9fe1c register_shell="/bin/fish /usr/bin/fish" # some tests fail in ci, cba to hardcode skipping make_check=ci-skip +# project shells out to the cross-built binary to generate docs +if [ ${CROSS_BUILD} ]; then + configure_args+=" -DWITH_DOCS=OFF" +fi + post_install() { # Starting with fish-3.0.0 this is a skeleton file with only comments rm ${DESTDIR}/etc/fish/config.fish - rm ${DESTDIR}/usr/bin/fish_{indent,key_reader} - ln -s fish ${DESTDIR}/usr/bin/fish_indent - ln -s fish ${DESTDIR}/usr/bin/fish_key_reader + ln -sf fish ${DESTDIR}/usr/bin/fish_indent + ln -sf fish ${DESTDIR}/usr/bin/fish_key_reader }