[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 <dev.aditya.alok@gmail.com>
This commit is contained in:
Aditya Alok 2022-04-14 03:50:35 +05:30
parent 59ad5ab66e
commit ed7d07e5bd
No known key found for this signature in database
GPG Key ID: 345AE134142077D8
1 changed files with 1 additions and 15 deletions

View File

@ -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 \