summaryrefslogtreecommitdiff
path: root/community/nodejs/PKGBUILD
diff options
context:
space:
mode:
authorroot <root@rshg054.dnsready.net>2012-08-26 00:06:22 +0000
committerroot <root@rshg054.dnsready.net>2012-08-26 00:06:22 +0000
commitca0c70ec611689e1233665e7e8c0b1bb99415bc0 (patch)
tree439b447bff9aab3ded336caf0c5ae31c9197dabc /community/nodejs/PKGBUILD
parented5050e0ce34cfd42511b855ff7c57f46ad65fc5 (diff)
Sun Aug 26 00:06:21 UTC 2012
Diffstat (limited to 'community/nodejs/PKGBUILD')
-rw-r--r--community/nodejs/PKGBUILD9
1 files changed, 3 insertions, 6 deletions
diff --git a/community/nodejs/PKGBUILD b/community/nodejs/PKGBUILD
index d5a02216e..9ab64b439 100644
--- a/community/nodejs/PKGBUILD
+++ b/community/nodejs/PKGBUILD
@@ -1,4 +1,4 @@
-# $Id: PKGBUILD 74783 2012-08-04 07:34:52Z bpiotrowski $
+# $Id: PKGBUILD 75455 2012-08-24 19:14:55Z bpiotrowski $
# Maintainer: Bartłomiej Piotrowski <nospam@bpiotrowski.pl>
# Contributor: Thomas Dziedzic < gostrc at gmail >
# Contributor: James Campos <james.r.campos@gmail.com>
@@ -8,7 +8,7 @@
# Contributor: TIanyi Cui <tianyicui@gmail.com>
pkgname=nodejs
-pkgver=0.8.5
+pkgver=0.8.8
pkgrel=1
pkgdesc='Evented I/O for V8 javascript'
arch=('i686' 'x86_64')
@@ -19,14 +19,11 @@ checkdepends=('curl') # curl used for check()
optdepends=('openssl: TLS support')
options=('!emptydirs')
source=("http://nodejs.org/dist/v${pkgver}/node-v${pkgver}.tar.gz")
-md5sums=('815b71e801fcecae43b3dc08737f5097')
+md5sums=('f4dae84e96a94b768404c14633bccd49')
build() {
cd node-v${pkgver}
- # fs#30766
- sed -i "s|var npmDir = path.resolve(node_prefix, 'lib/node_modules/npm');|var npmDir = path.join(dest_dir, node_prefix, 'lib/node_modules/npm');|" tools/installer.js
-
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 {} \;