mirror of
https://github.com/archlinuxarm/PKGBUILDs.git
synced 2024-11-28 22:57:37 +00:00
community/nodejs to 17.6.0-1
This commit is contained in:
parent
7ad38ba9b0
commit
59d5a1ab76
1 changed files with 3 additions and 4 deletions
|
@ -11,7 +11,7 @@
|
|||
# - set config and gyp flags
|
||||
|
||||
pkgname=nodejs
|
||||
pkgver=17.5.0
|
||||
pkgver=17.6.0
|
||||
pkgrel=1
|
||||
pkgdesc='Evented I/O for V8 javascript'
|
||||
arch=('x86_64')
|
||||
|
@ -22,13 +22,12 @@ depends=('brotli' 'openssl' 'zlib' 'icu' 'libuv' 'libnghttp2' 'c-ares') # 'http-
|
|||
makedepends=('python' 'procps-ng')
|
||||
optdepends=('npm: nodejs package manager')
|
||||
source=("https://github.com/nodejs/node/archive/v$pkgver/nodejs-$pkgver.tar.gz")
|
||||
sha512sums=('c4fcc489d688aee0375d8b31309d7a14d0cf7670ae220999eef03218424715f854ce1cd2f2628ab0fad9e95973b53faa68195c4730410e386878a0d4edaa533e')
|
||||
sha512sums=('1b98996a9cadc8a6a7373497cffae2497a26dc4c08bd2d616ba714da66510ff035aa83a57969cd89032620d3af08581816671e37b8cef6d730fab7149030b55b')
|
||||
|
||||
build() {
|
||||
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=vfpv3-d16" && export GYPFLAGS="-Darm_thumb -Darm_float_abi=hard -Darm_version=7 -Darm_fpu=vfpv3-d16"
|
||||
[[ "$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"
|
||||
|
||||
./configure \
|
||||
--prefix=/usr \
|
||||
|
|
Loading…
Reference in a new issue