Browse Source

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.
android-5
Fredrik Fornwall 9 years ago
parent
commit
2d259302a9
  1. 9
      packages/fish/build.sh

9
packages/fish/build.sh

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

Loading…
Cancel
Save