summaryrefslogtreecommitdiff
path: root/community/nodejs/PKGBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'community/nodejs/PKGBUILD')
-rw-r--r--community/nodejs/PKGBUILD22
1 files changed, 9 insertions, 13 deletions
diff --git a/community/nodejs/PKGBUILD b/community/nodejs/PKGBUILD
index 79fcf098c..7cada4d07 100644
--- a/community/nodejs/PKGBUILD
+++ b/community/nodejs/PKGBUILD
@@ -1,4 +1,4 @@
-# $Id: PKGBUILD 78788 2012-10-24 19:44:32Z bpiotrowski $
+# $Id: PKGBUILD 78912 2012-10-27 18:07:12Z bpiotrowski $
# Maintainer: Bartłomiej Piotrowski <nospam@bpiotrowski.pl>
# Contributor: Thomas Dziedzic < gostrc at gmail >
# Contributor: James Campos <james.r.campos@gmail.com>
@@ -8,8 +8,8 @@
# Contributor: TIanyi Cui <tianyicui@gmail.com>
pkgname=nodejs
-pkgver=0.8.12
-pkgrel=2
+pkgver=0.8.14
+pkgrel=1
pkgdesc='Evented I/O for V8 javascript'
arch=('i686' 'x86_64')
url='http://nodejs.org/'
@@ -18,27 +18,23 @@ depends=('openssl' 'python2' 'v8')
checkdepends=('curl') # curl used for check()
options=('!emptydirs')
source=(http://nodejs.org/dist/v${pkgver}/node-v${pkgver}.tar.gz)
-md5sums=('2d053e4d08e6b44747ed2f519a8b20be')
+md5sums=('284fd2c7578064c339d9cf6a3a475ac7')
build() {
cd node-v${pkgver}
msg 'Fixing for python2 name'
- find -type f -exec \
- sed -e 's_^#!/usr/bin/env python$_&2_' \
+ find -type f -exec sed \
+ -e 's_^#!/usr/bin/env python$_&2_' \
-e 's_^\(#!/usr/bin/python2\).[45]$_\1_' \
-e 's_^#!/usr/bin/python$_&2_' \
- -e "s_'python'_'python2'_" \
- -e 's_python _python2 _' -i {} \;
-
+ -e "s_'python'_'python2'_" -i {} \;
+ find test/ -type f -exec sed 's_python _python2 _' -i {} \;
export PYTHON=python2
./configure \
--prefix=/usr \
- --shared-openssl \
- --shared-v8 \
- --shared-v8-libpath=/usr/lib \
- --shared-v8-includes=/usr/include
+ --shared-openssl
make
}