community/nodejs to 17.6.0-1

This commit is contained in:
Kevin Mihelich 2022-02-23 14:03:48 +00:00
parent 7ad38ba9b0
commit 59d5a1ab76

View file

@ -11,7 +11,7 @@
# - set config and gyp flags # - set config and gyp flags
pkgname=nodejs pkgname=nodejs
pkgver=17.5.0 pkgver=17.6.0
pkgrel=1 pkgrel=1
pkgdesc='Evented I/O for V8 javascript' pkgdesc='Evented I/O for V8 javascript'
arch=('x86_64') arch=('x86_64')
@ -22,13 +22,12 @@ depends=('brotli' 'openssl' 'zlib' 'icu' 'libuv' 'libnghttp2' 'c-ares') # 'http-
makedepends=('python' 'procps-ng') makedepends=('python' 'procps-ng')
optdepends=('npm: nodejs package manager') optdepends=('npm: nodejs package manager')
source=("https://github.com/nodejs/node/archive/v$pkgver/nodejs-$pkgver.tar.gz") source=("https://github.com/nodejs/node/archive/v$pkgver/nodejs-$pkgver.tar.gz")
sha512sums=('c4fcc489d688aee0375d8b31309d7a14d0cf7670ae220999eef03218424715f854ce1cd2f2628ab0fad9e95973b53faa68195c4730410e386878a0d4edaa533e') sha512sums=('1b98996a9cadc8a6a7373497cffae2497a26dc4c08bd2d616ba714da66510ff035aa83a57969cd89032620d3af08581816671e37b8cef6d730fab7149030b55b')
build() { build() {
cd node-$pkgver cd node-$pkgver
[[ "$CARCH" == "armv6h" ]] && export CONFIG="--with-arm-float-abi=hard --with-arm-fpu=vfp" && export GYPFLAGS="-Darm_thumb -Darm_float_abi=hard -Darm_version=6 -Darm_fpu=vfpv2" [[ "$CARCH" == "armv7h" ]] && export CONFIG="--with-arm-float-abi=hard --with-arm-fpu=neon" && export GYPFLAGS="-Darm_thumb -Darm_float_abi=hard -Darm_version=7 -Darm_fpu=neon"
[[ "$CARCH" == "armv7h" ]] && export CONFIG="--with-arm-float-abi=hard --with-arm-fpu=vfpv3-d16" && export GYPFLAGS="-Darm_thumb -Darm_float_abi=hard -Darm_version=7 -Darm_fpu=vfpv3-d16"
./configure \ ./configure \
--prefix=/usr \ --prefix=/usr \