11# Template file for 'fish-shell'
22pkgname=fish-shell
3- version=4.2 .1
3+ version=4.3 .1
44revision=1
55build_style=cmake
66build_helper="rust"
77configure_args="-DCMAKE_BUILD_TYPE=Release -DRust_CARGO=${XBPS_WRAPPERDIR}/cargo"
88make_check_target="fish_run_tests"
9- hostmakedepends="gettext pkg-config cargo cargo-auditable"
9+ hostmakedepends="gettext pkg-config cargo cargo-auditable python3-Sphinx "
1010makedepends="pcre2-devel rust-std"
1111checkdepends="git mdocml python3-pexpect procps-ng"
1212short_desc="User friendly shell intended mostly for interactive use"
@@ -15,16 +15,20 @@ license="GPL-2.0-only"
1515homepage="https://fishshell.com/"
1616changelog="https://raw.githubusercontent.com/fish-shell/fish-shell/refs/heads/master/CHANGELOG.rst"
1717distfiles="https://github.com/fish-shell/fish-shell/releases/download/${version}/fish-${version}.tar.xz"
18- checksum=0f99222a3063377c91fbf78d9850edab7a0b91bdbed201cf79da48ea3a41f393
18+ checksum=78f8881b971ab95ace5f2a9a25efef66f6c180396b2085b9852f21f8e4a30408
1919register_shell="/bin/fish /usr/bin/fish"
2020# some tests fail in ci, cba to hardcode skipping
2121make_check=ci-skip
2222
23+ # project shells out to the cross-built binary to generate docs
24+ if [ ${CROSS_BUILD} ]; then
25+ configure_args+=" -DWITH_DOCS=OFF"
26+ fi
27+
2328post_install() {
2429 # Starting with fish-3.0.0 this is a skeleton file with only comments
2530 rm ${DESTDIR}/etc/fish/config.fish
2631
27- rm ${DESTDIR}/usr/bin/fish_{indent,key_reader}
28- ln -s fish ${DESTDIR}/usr/bin/fish_indent
29- ln -s fish ${DESTDIR}/usr/bin/fish_key_reader
32+ ln -sf fish ${DESTDIR}/usr/bin/fish_indent
33+ ln -sf fish ${DESTDIR}/usr/bin/fish_key_reader
3034}
0 commit comments