From: Fredrik Fornwall Date: Sat, 19 Mar 2016 19:34:38 +0000 (-0400) Subject: fish: Do not always build from latest master X-Git-Url: https://www.chiark.greenend.org.uk/ucgi/~mdw/git/termux-packages/commitdiff_plain/2d259302a9b3ecb95a2d20cfb997d3cd40362806?ds=inline 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. --- diff --git a/packages/fish/build.sh b/packages/fish/build.sh index 9aa9c8be..499102ab 100644 --- a/packages/fish/build.sh +++ b/packages/fish/build.sh @@ -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