ninja: update to 1.10.2

This commit is contained in:
Leonid Pliushch 2020-12-07 22:32:01 +00:00
parent dd3e5fd1b4
commit beb0068126
No known key found for this signature in database
GPG Key ID: 45F2964132545795
2 changed files with 4 additions and 4 deletions

View File

@ -1,9 +1,9 @@
TERMUX_PKG_HOMEPAGE=https://ninja-build.org
TERMUX_PKG_DESCRIPTION="A small build system with a focus on speed"
TERMUX_PKG_LICENSE="Apache-2.0"
TERMUX_PKG_VERSION=1.10.1
TERMUX_PKG_VERSION=1.10.2
TERMUX_PKG_SRCURL=https://github.com/ninja-build/ninja/archive/v${TERMUX_PKG_VERSION}.tar.gz
TERMUX_PKG_SHA256=a6b6f7ac360d4aabd54e299cc1d8fa7b234cd81b9401693da21221c62569a23e
TERMUX_PKG_SHA256=ce35865411f0490368a8fc383f29071de6690cbadc27704734978221f25e2bed
TERMUX_PKG_DEPENDS="libc++, libandroid-spawn"
termux_step_pre_configure() {

View File

@ -1,5 +1,5 @@
termux_setup_ninja() {
local NINJA_VERSION=1.10.0
local NINJA_VERSION=1.10.2
local NINJA_FOLDER
if [ "${TERMUX_PACKAGES_OFFLINE-false}" = "true" ]; then
@ -14,7 +14,7 @@ termux_setup_ninja() {
local NINJA_ZIP_FILE=$TERMUX_PKG_TMPDIR/ninja-$NINJA_VERSION.zip
termux_download https://github.com/ninja-build/ninja/releases/download/v$NINJA_VERSION/ninja-linux.zip \
"$NINJA_ZIP_FILE" \
6566836ddf3d72ca06685b34814e0c6fa0f0943542d651d0dab3150f10307c82
763464859c7ef2ea3a0a10f4df40d2025d3bb9438fcb1228404640410c0ec22d
unzip "$NINJA_ZIP_FILE" -d "$NINJA_FOLDER"
chmod 755 $NINJA_FOLDER/ninja
fi