diff options
Diffstat (limited to 'community/nodejs/PKGBUILD')
-rw-r--r-- | community/nodejs/PKGBUILD | 21 |
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 } |