30 lines
970 B
Bash
30 lines
970 B
Bash
# Template file for 'fish-shell'
|
|
pkgname=fish-shell
|
|
version=3.4.1
|
|
revision=1
|
|
wrksrc="fish-${version}"
|
|
build_style=cmake
|
|
hostmakedepends="gettext"
|
|
makedepends="ncurses-devel pcre2-devel"
|
|
depends="groff"
|
|
checkdepends="python3-pexpect procps-ng"
|
|
short_desc="User friendly shell intended mostly for interactive use"
|
|
maintainer="Nathan Owens <ndowens04@gmail.com>"
|
|
license="GPL-2.0-only"
|
|
homepage="https://fishshell.com/"
|
|
changelog="https://github.com/fish-shell/fish-shell/raw/master/CHANGELOG.rst"
|
|
distfiles="https://github.com/fish-shell/fish-shell/releases/download/${version}/fish-${version}.tar.xz"
|
|
checksum=b6f23b3843b04db6b0a90fea1f6f0d0e40cc027b4a732098200863f2864a94ea
|
|
register_shell="/bin/fish /usr/bin/fish"
|
|
# tests don't work as root
|
|
make_check=ci-skip
|
|
|
|
if [ "$XBPS_TARGET_NO_ATOMIC8" ]; then
|
|
makedepends+=" libatomic-devel"
|
|
fi
|
|
|
|
post_install() {
|
|
# Starting with fish-3.0.0 this is a skeleton file with only comments
|
|
rm "${DESTDIR}/usr/etc/fish/config.fish"
|
|
}
|