From ed7d07e5bdc40ac7864bda0741a466526e13408d Mon Sep 17 00:00:00 2001 From: Aditya Alok Date: Thu, 14 Apr 2022 03:50:35 +0530 Subject: [PATCH] [TEMP] watchexec: disable updates It depends upon git-config crate which in turn depends upon pwd crate which uses: `getpwent` and friends sys call which isn't available on android. Disable until upstream is updated and this PR to git-confif is merged: https://github.com/Byron/gitoxide/pull/381 %ci:no-build Signed-off-by: Aditya Alok --- packages/watchexec/build.sh | 16 +--------------- 1 file changed, 1 insertion(+), 15 deletions(-) diff --git a/packages/watchexec/build.sh b/packages/watchexec/build.sh index 80ae0b5f6..2b67e630d 100644 --- a/packages/watchexec/build.sh +++ b/packages/watchexec/build.sh @@ -5,24 +5,10 @@ TERMUX_PKG_MAINTAINER="@termux" TERMUX_PKG_VERSION=1.18.11 TERMUX_PKG_SRCURL=https://github.com/watchexec/watchexec/archive/refs/tags/cli-v${TERMUX_PKG_VERSION}.tar.gz TERMUX_PKG_SHA256=bdd5af45ab7e5981eed25ac09767388aa1fbf711a9d286bcb99884464980af5b -TERMUX_PKG_AUTO_UPDATE=true -TERMUX_PKG_UPDATE_VERSION_REGEXP="\d+\.\d+\.\d+" +TERMUX_PKG_AUTO_UPDATE=false TERMUX_PKG_DEPENDS="zlib" TERMUX_PKG_BUILD_IN_SRC=true -termux_pkg_auto_update() { - # Get latest release tag: - local tag - tag="$(termux_github_api_get_tag "${TERMUX_PKG_SRCURL}")" - # check if this is not a c++ release: We nned this check since upstream has multiple different - # releases within same repo. (i.e for c and cxx) - if grep -qP "^cli-v${TERMUX_PKG_UPDATE_VERSION_REGEXP}\$" <<<"$tag"; then - termux_pkg_upgrade_version "$tag" - else - echo "WARNING: Skipping auto-update: Not a cli release($tag)" - fi -} - termux_step_make_install() { termux_setup_rust cargo install \