diff options
Diffstat (limited to 'community/nodejs/PKGBUILD')
-rw-r--r-- | community/nodejs/PKGBUILD | 9 |
1 files changed, 3 insertions, 6 deletions
diff --git a/community/nodejs/PKGBUILD b/community/nodejs/PKGBUILD index df23f239b..bffd562b4 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' 'mips64el') @@ -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 {} \; |