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