# Template file for 'fish-shell'
pkgname=fish-shell
version=3.0.2
revision=2
wrksrc="fish-${version}"
build_style=cmake
makedepends="ncurses-devel pcre2-devel gettext-devel"
depends="bc groff"
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.gz"
checksum=14728ccc6b8e053d01526ebbd0822ca4eb0235e6487e832ec1d0d22f1395430e
register_shell="/bin/fish /usr/bin/fish"

post_install() {
	# Starting with fish-3.0.0 this is a skeleton file with only comments
	rm -f "${DESTDIR}/usr/etc/fish/config.fish"
}
