void-packages/srcpkgs/fish-shell/template

27 lines
860 B
Bash

# Template file for 'fish-shell'
pkgname=fish-shell
version=3.2.0
revision=2
wrksrc="fish-${version}"
build_style=cmake
hostmakedepends="gettext"
makedepends="ncurses-devel pcre2-devel gettext-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/"
distfiles="https://github.com/fish-shell/fish-shell/releases/download/${version}/fish-${version}.tar.xz"
checksum=4f0293ed9f6a6b77e47d41efabe62f3319e86efc8bf83cc58733044fbc6f9211
register_shell="/bin/fish /usr/bin/fish"
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"
}