mirror of
https://github.com/archlinuxarm/PKGBUILDs.git
synced 2024-11-18 22:54:00 +00:00
community/nodejs => 0.8.6
This commit is contained in:
parent
b79f742ee4
commit
d746bd7462
1 changed files with 5 additions and 5 deletions
|
@ -7,8 +7,8 @@
|
|||
# Contributor: Jason Plum <max@warheads.net>
|
||||
|
||||
pkgname=nodejs
|
||||
pkgver=0.8.5
|
||||
pkgrel=2
|
||||
pkgver=0.8.6
|
||||
pkgrel=1
|
||||
pkgdesc='Evented I/O for V8 javascript'
|
||||
arch=('i686' 'x86_64' 'arm')
|
||||
url='http://nodejs.org/'
|
||||
|
@ -18,13 +18,13 @@ checkdepends=('curl') # curl used for check()
|
|||
optdepends=('openssl: TLS support')
|
||||
options=('!emptydirs')
|
||||
source=("http://nodejs.org/dist/v${pkgver}/node-v${pkgver}.tar.gz")
|
||||
sha1sums=('835ba5ca429e56f65aeb1a5d9730fff105e86337')
|
||||
sha1sums=('34c7ad2bb5450653748c65840155852d67742258')
|
||||
|
||||
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
|
||||
# fs#30766 # moved back to install.py
|
||||
# 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 {} \;
|
||||
|
|
Loading…
Reference in a new issue