community/nodejs to 9.9.0-2

This commit is contained in:
Kevin Mihelich 2018-03-23 18:07:09 +00:00
parent 03af63c96c
commit 793951e4e4

View file

@ -15,12 +15,12 @@ buildarch=28
pkgname=nodejs
pkgver=9.9.0
pkgrel=1
pkgrel=2
pkgdesc='Evented I/O for V8 javascript'
arch=('x86_64')
url='http://nodejs.org/'
license=('MIT')
depends=('openssl' 'zlib' 'icu' 'libuv' 'http-parser' 'c-ares' 'libnghttp2') # 'v8')
depends=('openssl-1.0' 'zlib' 'icu' 'libuv' 'http-parser' 'c-ares' 'libnghttp2') # 'v8')
makedepends=('python2' 'procps-ng')
optdepends=('npm: nodejs package manager')
source=("nodejs-$pkgver.tar.gz::https://github.com/nodejs/node/archive/v$pkgver.tar.gz")
@ -43,6 +43,7 @@ prepare() {
build() {
cd node-$pkgver
export PKG_CONFIG_PATH=/usr/lib/openssl-1.0/pkgconfig
export PYTHON=python2
[[ "$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"