# Template file for 'fish-shell' pkgname=fish-shell version=4.0.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" makedepends="pcre2-devel rust-std" checkdepends="git mdocml python3-pexpect procps-ng" short_desc="User friendly shell intended mostly for interactive use" maintainer="tranzystorekk " 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=6e1ecdb164285fc057b2f35acbdc20815c1623099e7bb47bbfc011120adf7e83 register_shell="/bin/fish /usr/bin/fish" # skip problematic tests in ci if [ "${XBPS_BUILD_ENVIRONMENT}" = "void-packages-ci" ]; then configure_args+=" -DFISH_CTEST_ARGUMENTS=-E;cmdsub-limit\|pipeline-pgroup\|job-control\|wait.fish\|cargo-test" fi post_install() { # Starting with fish-3.0.0 this is a skeleton file with only comments rm "${DESTDIR}/etc/fish/config.fish" }