nodejs: Update from 14.4.0 to 14.8.0

This commit is contained in:
Fredrik Fornwall 2020-08-12 14:16:59 +02:00
parent 86040d77bf
commit fb7027c26a

View File

@ -3,10 +3,9 @@ TERMUX_PKG_DESCRIPTION="Platform built on Chrome's JavaScript runtime for easily
TERMUX_PKG_LICENSE="MIT" TERMUX_PKG_LICENSE="MIT"
# Note: package build may fail on Github Actions CI due to out-of-memory # Note: package build may fail on Github Actions CI due to out-of-memory
# condition. It should be built locally instead. # condition. It should be built locally instead.
TERMUX_PKG_VERSION=14.4.0 TERMUX_PKG_VERSION=14.8.0
TERMUX_PKG_REVISION=1
TERMUX_PKG_SRCURL=https://nodejs.org/dist/v${TERMUX_PKG_VERSION}/node-v${TERMUX_PKG_VERSION}.tar.xz TERMUX_PKG_SRCURL=https://nodejs.org/dist/v${TERMUX_PKG_VERSION}/node-v${TERMUX_PKG_VERSION}.tar.xz
TERMUX_PKG_SHA256=1d78f6a8c435a6b3f4ff0c51579c03ef89ed3b50ccce7f34f0fa52e7460e7db9 TERMUX_PKG_SHA256=9b9e68e4e641ab099b3fe2d49308c65820eebe60ed733b5f8b07c67adef9f06d
# Note that we do not use a shared libuv to avoid an issue with the Android # Note that we do not use a shared libuv to avoid an issue with the Android
# linker, which does not use symbols of linked shared libraries when resolving # linker, which does not use symbols of linked shared libraries when resolving
# symbols on dlopen(). See https://github.com/termux/termux-packages/issues/462. # symbols on dlopen(). See https://github.com/termux/termux-packages/issues/462.
@ -37,13 +36,13 @@ termux_step_post_get_source() {
} }
termux_step_host_build() { termux_step_host_build() {
local ICU_VERSION=66.1 local ICU_VERSION=67.1
local ICU_TAR=icu4c-${ICU_VERSION//./_}-src.tgz local ICU_TAR=icu4c-${ICU_VERSION//./_}-src.tgz
local ICU_DOWNLOAD=https://github.com/unicode-org/icu/releases/download/release-${ICU_VERSION//./-}/$ICU_TAR local ICU_DOWNLOAD=https://github.com/unicode-org/icu/releases/download/release-${ICU_VERSION//./-}/$ICU_TAR
termux_download \ termux_download \
$ICU_DOWNLOAD\ $ICU_DOWNLOAD\
$TERMUX_PKG_CACHEDIR/$ICU_TAR \ $TERMUX_PKG_CACHEDIR/$ICU_TAR \
52a3f2209ab95559c1cf0a14f24338001f389615bf00e2585ef3dbc43ecf0a2e 94a80cd6f251a53bd2a997f6f1b5ac6653fe791dfab66e1eb0227740fb86d5dc
tar xf $TERMUX_PKG_CACHEDIR/$ICU_TAR tar xf $TERMUX_PKG_CACHEDIR/$ICU_TAR
cd icu/source cd icu/source
if [ "$TERMUX_ARCH_BITS" = 32 ]; then if [ "$TERMUX_ARCH_BITS" = 32 ]; then