Skip to content

Commit 94b9a2b

Browse files
committed
fish-shell: update to 4.3.1
1 parent 60b42b2 commit 94b9a2b

File tree

1 file changed

+10
-6
lines changed

1 file changed

+10
-6
lines changed

srcpkgs/fish-shell/template

Lines changed: 10 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,12 @@
11
# Template file for 'fish-shell'
22
pkgname=fish-shell
3-
version=4.2.1
3+
version=4.3.1
44
revision=1
55
build_style=cmake
66
build_helper="rust"
77
configure_args="-DCMAKE_BUILD_TYPE=Release -DRust_CARGO=${XBPS_WRAPPERDIR}/cargo"
88
make_check_target="fish_run_tests"
9-
hostmakedepends="gettext pkg-config cargo cargo-auditable"
9+
hostmakedepends="gettext pkg-config cargo cargo-auditable python3-Sphinx"
1010
makedepends="pcre2-devel rust-std"
1111
checkdepends="git mdocml python3-pexpect procps-ng"
1212
short_desc="User friendly shell intended mostly for interactive use"
@@ -15,16 +15,20 @@ license="GPL-2.0-only"
1515
homepage="https://fishshell.com/"
1616
changelog="https://raw.githubusercontent.com/fish-shell/fish-shell/refs/heads/master/CHANGELOG.rst"
1717
distfiles="https://github.com/fish-shell/fish-shell/releases/download/${version}/fish-${version}.tar.xz"
18-
checksum=0f99222a3063377c91fbf78d9850edab7a0b91bdbed201cf79da48ea3a41f393
18+
checksum=78f8881b971ab95ace5f2a9a25efef66f6c180396b2085b9852f21f8e4a30408
1919
register_shell="/bin/fish /usr/bin/fish"
2020
# some tests fail in ci, cba to hardcode skipping
2121
make_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+
2328
post_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

Comments
 (0)