community/nodejs to 0.12.0-1

This commit is contained in:
Kevin Mihelich 2015-02-15 19:15:29 +00:00
parent 4e4190678e
commit 2f6d471b4a

View file

@ -9,21 +9,22 @@
# Contributor: Jason Plum <jplum@archlinuxarm.org>
pkgname=nodejs
pkgver=0.10.36
_npmver=2.5.0
pkgrel=3
pkgver=0.12.0
_npmver=2.5.1
pkgrel=1
pkgdesc='Evented I/O for V8 javascript'
arch=('i686' 'x86_64' 'arm')
url='http://nodejs.org/'
license=('MIT')
provides=('nodejs-node-gyp')
depends=('openssl' 'zlib' 'libuv') # 'v8' 'c-ares')
makedepends=('python2' 'git' 'procps-ng')
optdepends=('python2: for node-gyp')
checkdepends=('curl')
options=('!emptydirs' '!strip')
source=("http://nodejs.org/dist/v$pkgver/node-v$pkgver.tar.gz"
git+https://github.com/npm/npm.git#tag=v$_npmver)
sha256sums=('b9d7d1d0294bce46686b13a05da6fc5b1e7743b597544aa888e8e64a9f178c81'
sha256sums=('9700e23af4e9b3643af48cef5f2ad20a1331ff531a12154eef2bfb0bb1682e32'
'SKIP')
set_flags_for_arm() {
@ -88,7 +89,9 @@ build() {
--prefix=/usr \
--without-snapshot \
--with-arm-float-abi=$EABI \
--shared-openssl
--shared-openssl \
--shared-zlib \
--shared-libuv
# --shared-v8 \
# --shared-v8-libpath=/usr/lib \
# --shared-v8-includes=/usr/include