fish: Do not always build from latest master

Build from a specific commit to avoid suprises and always creating
a new version on each build.
This commit is contained in:
Fredrik Fornwall 2016-03-19 15:34:38 -04:00
parent 3deed90488
commit 2d259302a9
1 changed files with 4 additions and 5 deletions

View File

@ -1,12 +1,11 @@
TERMUX_PKG_HOMEPAGE=http://fishshell.com/
TERMUX_PKG_DESCRIPTION="Shell geared towards interactive use"
TERMUX_PKG_VERSION=2.2.`date "+%Y%m%d%H%M"`
# TERMUX_PKG_SRCURL=http://fishshell.com/files/${TERMUX_PKG_VERSION}/fish-${TERMUX_PKG_VERSION}.tar.gz
TERMUX_PKG_SRCURL=https://github.com/fish-shell/fish-shell/archive/master.zip
TERMUX_PKG_NO_SRC_CACHE=yes
_COMMIT=b1b2698a843b52ea18ae0f8fc1e5a2b6e003f409
TERMUX_PKG_VERSION=2.2.201603181154
TERMUX_PKG_SRCURL=https://github.com/fish-shell/fish-shell/archive/${_COMMIT}.zip
TERMUX_PKG_DEPENDS="ncurses, libgnustl, libandroid-support"
TERMUX_PKG_BUILD_IN_SRC=yes
TERMUX_PKG_FOLDERNAME=fish-shell-master
TERMUX_PKG_FOLDERNAME=fish-shell-$_COMMIT
termux_step_pre_configure () {
cd $TERMUX_PKG_SRCDIR