diff options
author | Michał Masłowski <mtjm@mtjm.eu> | 2012-10-28 13:23:06 +0100 |
---|---|---|
committer | Michał Masłowski <mtjm@mtjm.eu> | 2012-10-28 13:23:06 +0100 |
commit | b1bde86b7410654132cd3365cc82e2ab7306b5f7 (patch) | |
tree | cdd900b7b62d0bf35c9b980ab71e0474d604bd72 /community/nodejs | |
parent | 6fee6e650c46dcf94e9bd79efa2b2bf8a298d271 (diff) | |
parent | 24d0263a0ac516ccc86df09146449fb040fb3689 (diff) |
Merge branch 'master' of ssh://parabolagnulinux.org:1863/home/parabola/abslibre-pre-mips64el
Conflicts:
community/gmic/PKGBUILD
community/projectm/PKGBUILD
extra/dvdauthor/PKGBUILD
extra/ilmbase/PKGBUILD
extra/imagemagick/PKGBUILD
extra/obex-data-server/PKGBUILD
extra/phonon/PKGBUILD
extra/psiconv/PKGBUILD
extra/pstoedit/PKGBUILD
Diffstat (limited to 'community/nodejs')
-rw-r--r-- | community/nodejs/PKGBUILD | 22 |
1 files changed, 9 insertions, 13 deletions
diff --git a/community/nodejs/PKGBUILD b/community/nodejs/PKGBUILD index 5ae5cddce..a51226804 100644 --- a/community/nodejs/PKGBUILD +++ b/community/nodejs/PKGBUILD @@ -1,4 +1,4 @@ -# $Id: PKGBUILD 78788 2012-10-24 19:44:32Z bpiotrowski $ +# $Id: PKGBUILD 78912 2012-10-27 18:07:12Z bpiotrowski $ # Maintainer: Bartłomiej Piotrowski <nospam@bpiotrowski.pl> # Contributor: Thomas Dziedzic < gostrc at gmail > # Contributor: James Campos <james.r.campos@gmail.com> @@ -8,8 +8,8 @@ # Contributor: TIanyi Cui <tianyicui@gmail.com> pkgname=nodejs -pkgver=0.8.12 -pkgrel=2 +pkgver=0.8.14 +pkgrel=1 pkgdesc='Evented I/O for V8 javascript' arch=('i686' 'x86_64' 'mips64el') url='http://nodejs.org/' @@ -18,27 +18,23 @@ depends=('openssl' 'python2' 'v8') checkdepends=('curl') # curl used for check() options=('!emptydirs') source=(http://nodejs.org/dist/v${pkgver}/node-v${pkgver}.tar.gz) -md5sums=('2d053e4d08e6b44747ed2f519a8b20be') +md5sums=('284fd2c7578064c339d9cf6a3a475ac7') build() { cd node-v${pkgver} msg 'Fixing for python2 name' - find -type f -exec \ - sed -e 's_^#!/usr/bin/env python$_&2_' \ + 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 {} \; - + -e "s_'python'_'python2'_" -i {} \; + find test/ -type f -exec sed '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-openssl make } |