community/nodejs to 17.1.0-1

This commit is contained in:
Kevin Mihelich 2021-11-14 16:40:11 +00:00
parent ede00d2a59
commit 0bd0f87b2f

View file

@ -13,7 +13,7 @@
buildarch=28
pkgname=nodejs
pkgver=16.11.1
pkgver=17.1.0
pkgrel=1
pkgdesc='Evented I/O for V8 javascript'
arch=('x86_64')
@ -24,11 +24,12 @@ makedepends=('python' 'procps-ng')
optdepends=('npm: nodejs package manager')
source=("https://github.com/nodejs/node/archive/v$pkgver/nodejs-$pkgver.tar.gz"
system-c-ares.patch)
sha512sums=('d508a408b9d783db34f70e67b4c4fa9cb04b84caa0f397086c4691b15b159c0c5d2aa7a33c403f7ac82fb3c23f867c7aaa5f4f9d85f5c5e8b95bda29e0ce8247'
sha512sums=('a61e64e7a99df79ece7591a48b631024e2668de25dfc8f5abc0cf36f85994b599e091e7f3be8ce57d3d732ad9be531ec7b7153a64b3b9df8a49e77846700b895'
'bca85b5a4622b38f20f3787bdb2784db76cd4b213fadf8a5813a375080e7481c4aff7556712d59df3e19849a7eb6b2f048a69b4e2162cb717ab1b3a791d2558e')
prepare() {
patch -d node-$pkgver -Rp1 < system-c-ares.patch
cd node-$pkgver
patch -Rp1 -i ../system-c-ares.patch
}
build() {