void-packages/srcpkgs/fish-shell/template
Érico Rolim d960d66306 fish-shell: add gettext to hostmakedepends.
Enables locale generation and installation.
2020-11-11 17:55:09 -03:00

25 lines
822 B
Bash

# Template file for 'fish-shell'
pkgname=fish-shell
version=3.1.2
revision=2
wrksrc="fish-${version}"
build_style=cmake
hostmakedepends="gettext"
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=d5b927203b5ca95da16f514969e2a91a537b2f75bec9b21a584c4cd1c7aa74ed
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"
}