abduco: Update from 0.5 to 0.6
[termux-packages] / packages / fish / build.sh
1 TERMUX_PKG_HOMEPAGE=http://fishshell.com/
2 TERMUX_PKG_DESCRIPTION="Shell geared towards interactive use"
3 _COMMIT=b1b2698a843b52ea18ae0f8fc1e5a2b6e003f409
4 TERMUX_PKG_VERSION=2.2.201603181154
5 TERMUX_PKG_SRCURL=https://github.com/fish-shell/fish-shell/archive/${_COMMIT}.zip
6 TERMUX_PKG_DEPENDS="ncurses, libgnustl, libandroid-support"
7 TERMUX_PKG_BUILD_IN_SRC=yes
8 TERMUX_PKG_FOLDERNAME=fish-shell-$_COMMIT
9
10 termux_step_pre_configure () {
11 cd $TERMUX_PKG_SRCDIR
12 autoconf
13
14 CXXFLAGS+=" $CPPFLAGS"
15
16 LDFLAGS+=" -lgnustl_shared"
17
18 export PCRE2_CONFIG_EXTRAS="--host=$TERMUX_HOST_PLATFORM"
19 }