-
-
Notifications
You must be signed in to change notification settings - Fork 3.1k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
packages: nodejs-lts, nodejs
- Loading branch information
Showing
2 changed files
with
6 additions
and
4 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -3,6 +3,7 @@ TERMUX_PKG_DESCRIPTION="Open Source, cross-platform JavaScript runtime environme | |
TERMUX_PKG_LICENSE="MIT" | ||
TERMUX_PKG_MAINTAINER="Yaksh Bariya <[email protected]>" | ||
TERMUX_PKG_VERSION=20.17.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_SHA256=9abf03ac23362c60387ebb633a516303637145cb3c177be3348b16880fd8b28c | ||
# Note that we do not use a shared libuv to avoid an issue with the Android | ||
|
@@ -27,13 +28,13 @@ termux_step_pre_configure() { | |
} | ||
|
||
termux_step_host_build() { | ||
local ICU_VERSION=75.1 | ||
local ICU_VERSION=76.1 | ||
local ICU_TAR=icu4c-${ICU_VERSION//./_}-src.tgz | ||
local ICU_DOWNLOAD=https://github.com/unicode-org/icu/releases/download/release-${ICU_VERSION//./-}/$ICU_TAR | ||
termux_download \ | ||
$ICU_DOWNLOAD\ | ||
$TERMUX_PKG_CACHEDIR/$ICU_TAR \ | ||
cb968df3e4d2e87e8b11c49a5d01c787bd13b9545280fc6642f826527618caef | ||
dfacb46bfe4747410472ce3e1144bf28a102feeaa4e3875bac9b4c6cf30f4f3e | ||
tar xf $TERMUX_PKG_CACHEDIR/$ICU_TAR | ||
cd icu/source | ||
if [ "$TERMUX_ARCH_BITS" = 32 ]; then | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -3,6 +3,7 @@ TERMUX_PKG_DESCRIPTION="Open Source, cross-platform JavaScript runtime environme | |
TERMUX_PKG_LICENSE="MIT" | ||
TERMUX_PKG_MAINTAINER="Yaksh Bariya <[email protected]>" | ||
TERMUX_PKG_VERSION=22.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_SHA256=f130e82176d1ee0702d99afc1995d0061bf8ed357c38834a32a08c9ef74f1ac7 | ||
# thunder-coding: don't try to autoupdate nodejs, that thing takes 2 whole hours to build for a single arch, and requires a lot of patch updates everytime. Also I run tests everytime I update it to ensure least bugs | ||
|
@@ -25,13 +26,13 @@ termux_step_post_get_source() { | |
} | ||
|
||
termux_step_host_build() { | ||
local ICU_VERSION=75.1 | ||
local ICU_VERSION=76.1 | ||
local ICU_TAR=icu4c-${ICU_VERSION//./_}-src.tgz | ||
local ICU_DOWNLOAD=https://github.com/unicode-org/icu/releases/download/release-${ICU_VERSION//./-}/$ICU_TAR | ||
termux_download \ | ||
$ICU_DOWNLOAD\ | ||
$TERMUX_PKG_CACHEDIR/$ICU_TAR \ | ||
cb968df3e4d2e87e8b11c49a5d01c787bd13b9545280fc6642f826527618caef | ||
dfacb46bfe4747410472ce3e1144bf28a102feeaa4e3875bac9b4c6cf30f4f3e | ||
tar xf $TERMUX_PKG_CACHEDIR/$ICU_TAR | ||
cd icu/source | ||
if [ "$TERMUX_ARCH_BITS" = 32 ]; then | ||
|