void-packages/srcpkgs/fish-shell/template
2020-02-14 08:04:33 +01:00

25 lines
796 B
Bash

# Template file for 'fish-shell'
pkgname=fish-shell
version=3.1.0
revision=1
wrksrc="fish-${version}"
build_style=cmake
makedepends="ncurses-devel pcre2-devel gettext-devel"
depends="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=e5db1e6839685c56f172e1000c138e290add4aa521f187df4cd79d4eab294368
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 -f "${DESTDIR}/usr/etc/fish/config.fish"
}