community/nodejs to 6.6.0-1

This commit is contained in:
Kevin Mihelich 2016-09-16 04:14:16 +00:00
parent 8282218247
commit 18c6511b21

View file

@ -9,7 +9,7 @@
# Contributor: Jason Plum <jplum@archlinuxarm.org>
pkgname=nodejs
pkgver=6.5.0
pkgver=6.6.0
pkgrel=1
pkgdesc='Evented I/O for V8 javascript'
arch=('i686' 'x86_64')
@ -19,7 +19,7 @@ provides=('nodejs-node-gyp')
depends=('openssl' 'zlib' 'icu' 'libuv' 'http-parser') # 'v8')
makedepends=('python2' 'procps-ng' 'git')
optdepends=('npm: nodejs package manager')
source=("git+https://github.com/nodejs/node.git#tag=v$pkgver"
source=("nodejs::git+https://github.com/nodejs/node.git#tag=v$pkgver"
'0001-arm-fixes.patch')
sha256sums=('SKIP'
'eaeb2f55bd3390c50b8bb2bfe73131eb0fea20cccee88ed66331da93c1746fb6')
@ -44,7 +44,7 @@ set_flags_for_arm() {
}
prepare() {
cd node
cd nodejs
patch -p1 -i ../0001-arm-fixes.patch
@ -60,7 +60,7 @@ prepare() {
}
build() {
cd node
cd nodejs
export PYTHON=python2
@ -99,12 +99,12 @@ build() {
}
check() {
cd node
cd nodejs
make test || warning "Tests failed"
}
package() {
cd node
cd nodejs
# suppress re-compile(with out customized flags) by 'make install'.
set_flags_for_arm