[arch-commits] Commit in nodejs/trunk (PKGBUILD)
Felix Yan
fyan at archlinux.org
Wed Sep 9 08:00:34 UTC 2015
Date: Wednesday, September 9, 2015 @ 10:00:34
Author: fyan
Revision: 139659
upgpkg: nodejs 4.0.0-1
Modified:
nodejs/trunk/PKGBUILD
----------+
PKGBUILD | 5 +++--
1 file changed, 3 insertions(+), 2 deletions(-)
Modified: PKGBUILD
===================================================================
--- PKGBUILD 2015-09-09 07:01:04 UTC (rev 139658)
+++ PKGBUILD 2015-09-09 08:00:34 UTC (rev 139659)
@@ -9,7 +9,7 @@
# Contributor: TIanyi Cui <tianyicui at gmail.com>
pkgname=nodejs
-pkgver=0.12.7
+pkgver=4.0.0
pkgrel=1
pkgdesc='Evented I/O for V8 javascript'
arch=('i686' 'x86_64')
@@ -19,7 +19,7 @@
makedepends=('python2' 'procps-ng')
optdepends=('npm: nodejs package manager')
source=("http://nodejs.org/dist/v$pkgver/node-v$pkgver.tar.gz")
-sha256sums=('b23d64df051c9c969b0c583f802d5d71de342e53067127a5061415be7e12f39d')
+sha256sums=('e110e5a066f3a6fe565ede7dd66f3727384b9b5c5fbf46f8db723d726e2f5900')
prepare() {
cd node-v$pkgver
@@ -29,6 +29,7 @@
-e 's_^#!/usr/bin/env python$_&2_' \
-e 's_^\(#!/usr/bin/python2\).[45]$_\1_' \
-e 's_^#!/usr/bin/python$_&2_' \
+ -e 's_python -c _python2 -c _' \
-e "s_'python'_'python2'_" -i {} \;
find test/ -type f -exec sed 's_python _python2 _' -i {} \;
}
More information about the arch-commits
mailing list