void-packages/srcpkgs/fish-shell/template
maxice8 7495e28ae3 fish-shell: update to 2.7.1.
Closes: #10182 [via git-merge-pr]
2017-12-28 21:51:43 +01:00

32 lines
896 B
Bash

# Template file for 'fish-shell'
pkgname=fish-shell
version=2.7.1
revision=1
build_style=gnu-configure
configure_args="ac_cv_file__proc_self_stat=yes"
hostmakedepends="automake libtool"
makedepends="ncurses-devel"
depends="bc groff"
register_shell="/usr/bin/fish"
conf_files="/etc/fish/config.fish"
wrksrc="fish-${version}"
maintainer="Juan RP <xtraeme@voidlinux.eu>"
homepage="http://fishshell.com/"
license="GPL-2"
short_desc="User friendly shell intended mostly for interactive use"
distfiles="https://github.com/fish-shell/fish-shell/releases/download/${version}/fish-${version}.tar.gz"
checksum=e42bb19c7586356905a58578190be792df960fa81de35effb1ca5a5a981f0c5a
if [ -n "$CROSS_BUILD" ]; then
case "$XBPS_TARGET_MACHINE" in
*-musl) # Nothing to add
;;
*) # Add CXXFLAGS required for glibc
CXXFLAGS="-D_GNU_SOURCE=1 -D_ISO99_SOURCE=1"
;;
esac
fi
pre_configure() {
autoreconf -fi
}