community/nodejs to 15.0.1-1

This commit is contained in:
Kevin Mihelich 2020-10-25 23:27:52 +00:00
parent 98f9c78a0f
commit 4d26a626a1

View file

@ -13,17 +13,18 @@
buildarch=28
pkgname=nodejs
pkgver=14.14.0
pkgver=15.0.1
pkgrel=1
pkgdesc='Evented I/O for V8 javascript'
arch=('x86_64')
url='https://nodejs.org/'
license=('MIT')
depends=('openssl' 'zlib' 'icu' 'libuv' 'c-ares' 'libnghttp2') # 'http-parser' 'v8')
# c-ares: wait until a newer release than 1.16.1
depends=('openssl' 'zlib' 'icu' 'libuv' 'libnghttp2') # 'c-ares' 'http-parser' 'v8')
makedepends=('python' 'procps-ng')
optdepends=('npm: nodejs package manager')
source=("nodejs-$pkgver.tar.gz::https://github.com/nodejs/node/archive/v$pkgver.tar.gz")
sha512sums=('56c9bf3d789b6000f5e0d2ec7ef5ce1b68cc52960b82d2acf4396541f714b0f2adf6b166877f298b09db2a547e0cf0a3e004ec8d11c25fa3abe03b2d7ab418b5')
sha512sums=('68e8329e801aed6f31694fc47aa3e51478333a8b6a35378ff291d43808c3e3548ab52fd5fbbc2f83f81786fc2b2a1f4c856cb670d99eb4b98e52165843705e97')
build() {
cd node-$pkgver
@ -39,9 +40,9 @@ build() {
--shared-zlib \
--shared-libuv \
--experimental-http-parser \
--shared-cares \
--shared-nghttp2 \
${CONFIG}
# --shared-cares \
# --shared-v8
# --shared-http-parser
@ -50,8 +51,7 @@ build() {
check() {
cd node-$pkgver
# Expected failure: https://github.com/nodejs/node/issues/11627
make test || warning "Tests failed"
make test || :
}
package() {