mirror of
https://github.com/void-linux/void-packages.git
synced 2025-06-09 00:23:52 +02:00
fish-shell: update to 3.0.0.
This commit is contained in:
parent
33fbb03478
commit
2449286be7
1 changed files with 13 additions and 25 deletions
|
@ -1,32 +1,20 @@
|
||||||
# Template file for 'fish-shell'
|
# Template file for 'fish-shell'
|
||||||
pkgname=fish-shell
|
pkgname=fish-shell
|
||||||
version=2.7.1
|
version=3.0.0
|
||||||
revision=2
|
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}"
|
wrksrc="fish-${version}"
|
||||||
maintainer="Juan RP <xtraeme@voidlinux.eu>"
|
build_style=cmake
|
||||||
homepage="http://fishshell.com/"
|
makedepends="ncurses-devel pcre2-devel gettext-devel"
|
||||||
license="GPL-2"
|
depends="bc groff"
|
||||||
short_desc="User friendly shell intended mostly for interactive use"
|
short_desc="User friendly shell intended mostly for interactive use"
|
||||||
|
maintainer="maxice8 <thinkabit.ukim@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"
|
distfiles="https://github.com/fish-shell/fish-shell/releases/download/${version}/fish-${version}.tar.gz"
|
||||||
checksum=e42bb19c7586356905a58578190be792df960fa81de35effb1ca5a5a981f0c5a
|
checksum=ea9dd3614bb0346829ce7319437c6a93e3e1dfde3b7f6a469b543b0d2c68f2cf
|
||||||
|
register_shell="/usr/bin/fish"
|
||||||
|
|
||||||
if [ -n "$CROSS_BUILD" ]; then
|
post_install() {
|
||||||
case "$XBPS_TARGET_MACHINE" in
|
# Starting with fish-3.0.0 this is a skeleton file with only comments
|
||||||
*-musl) # Nothing to add
|
rm -f "${DESTDIR}/usr/etc/fish/config.fish"
|
||||||
;;
|
|
||||||
*) # Add CXXFLAGS required for glibc
|
|
||||||
CXXFLAGS="-D_GNU_SOURCE=1 -D_ISO99_SOURCE=1"
|
|
||||||
;;
|
|
||||||
esac
|
|
||||||
fi
|
|
||||||
|
|
||||||
pre_configure() {
|
|
||||||
autoreconf -fi
|
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Reference in a new issue