summaryrefslogtreecommitdiff
path: root/community/nodejs/PKGBUILD
diff options
context:
space:
mode:
authorroot <root@rshg054.dnsready.net>2012-10-25 01:42:20 -0700
committerroot <root@rshg054.dnsready.net>2012-10-25 01:42:20 -0700
commita3b55a0c47a00ac40bc00a4ce87d93f809273840 (patch)
tree6fcc1360f835115b132c35ca978b1f804540a372 /community/nodejs/PKGBUILD
parent120df4e0db159525806a9b33364483e76f9d51d3 (diff)
Thu Oct 25 01:42:05 PDT 2012
Diffstat (limited to 'community/nodejs/PKGBUILD')
-rw-r--r--community/nodejs/PKGBUILD21
1 files changed, 12 insertions, 9 deletions
diff --git a/community/nodejs/PKGBUILD b/community/nodejs/PKGBUILD
index a5f42959f..79fcf098c 100644
--- a/community/nodejs/PKGBUILD
+++ b/community/nodejs/PKGBUILD
@@ -1,4 +1,4 @@
-# $Id: PKGBUILD 77604 2012-10-13 08:08:33Z bpiotrowski $
+# $Id: PKGBUILD 78788 2012-10-24 19:44:32Z bpiotrowski $
# Maintainer: Bartłomiej Piotrowski <nospam@bpiotrowski.pl>
# Contributor: Thomas Dziedzic < gostrc at gmail >
# Contributor: James Campos <james.r.campos@gmail.com>
@@ -9,12 +9,12 @@
pkgname=nodejs
pkgver=0.8.12
-pkgrel=1
+pkgrel=2
pkgdesc='Evented I/O for V8 javascript'
arch=('i686' 'x86_64')
url='http://nodejs.org/'
license=('MIT')
-depends=('openssl' 'python2') #'v8')
+depends=('openssl' 'python2' 'v8')
checkdepends=('curl') # curl used for check()
options=('!emptydirs')
source=(http://nodejs.org/dist/v${pkgver}/node-v${pkgver}.tar.gz)
@@ -24,18 +24,21 @@ build() {
cd node-v${pkgver}
msg 'Fixing for python2 name'
- 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'_" -i {} \;
- find test -type f -exec sed -e "s|python |python2 |" -i {} \;
- sed -i "s|python |python2 |" Makefile
+ 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 {} \;
export PYTHON=python2
./configure \
--prefix=/usr \
--shared-openssl \
-# --shared-v8 \
-# --shared-v8-libpath=/usr/lib \
-# --shared-v8-includes=/usr/include
+ --shared-v8 \
+ --shared-v8-libpath=/usr/lib \
+ --shared-v8-includes=/usr/include
make
}