Date: Friday, December 8, 2017 @ 18:07:25 Author: felixonmars Revision: 273361
archrelease: copy trunk to community-x86_64 Added: nodejs/repos/community-x86_64/PKGBUILD (from rev 273360, nodejs/trunk/PKGBUILD) nodejs/repos/community-x86_64/rebuild.list (from rev 273360, nodejs/trunk/rebuild.list) Deleted: nodejs/repos/community-x86_64/PKGBUILD nodejs/repos/community-x86_64/rebuild.list --------------+ PKGBUILD | 144 ++++++++++++++++++++++++++++----------------------------- rebuild.list | 2 2 files changed, 73 insertions(+), 73 deletions(-) Deleted: PKGBUILD =================================================================== --- PKGBUILD 2017-12-08 18:06:57 UTC (rev 273360) +++ PKGBUILD 2017-12-08 18:07:25 UTC (rev 273361) @@ -1,72 +0,0 @@ -# $Id$ -# Maintainer: Felix Yan <felixonm...@archlinux.org> -# Contributor Bartłomiej Piotrowski <bpiotrow...@archlinux.org> -# Contributor: Thomas Dziedzic < gostrc at gmail > -# Contributor: James Campos <james.r.cam...@gmail.com> -# Contributor: BlackEagle < ike DOT devolder AT gmail DOT com > -# Contributor: Dongsheng Cai <dongsheng at moodle dot com> -# Contributor: Masutu Subric <masutu.arch at googlemail dot com> -# Contributor: TIanyi Cui <tianyi...@gmail.com> - -pkgname=nodejs -pkgver=9.2.0 -pkgrel=1 -pkgdesc='Evented I/O for V8 javascript' -arch=('x86_64') -url='http://nodejs.org/' -license=('MIT') -depends=('openssl-1.0' 'zlib' 'icu' 'libuv' 'http-parser' 'c-ares') # 'v8') -makedepends=('python2' 'procps-ng') -optdepends=('npm: nodejs package manager') -source=("nodejs-$pkgver.tar.gz::https://github.com/nodejs/node/archive/v$pkgver.tar.gz") -sha512sums=('4f9fc98bcc9e4c0e74876ff2a2983412665d4896623fba685df590fcd4d7158068823b29fc1945852554a05ce449de4d39f1877e6b609d4c91e0a567792fc83b') - -prepare() { - cd node-$pkgver - - 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_^\( *exec \+\)python\( \+.*\)$_\1python2\2_'\ - -e 's_^\(.*\)python\( \+-c \+.*\)$_\1python2\2_'\ - -e "s_'python'_'python2'_" -i {} \; - find test/ -type f -exec sed 's_python _python2 _' -i {} \; -} - -build() { - cd node-$pkgver - - export PKG_CONFIG_PATH=/usr/lib/openssl-1.0/pkgconfig - export PYTHON=python2 - ./configure \ - --prefix=/usr \ - --with-intl=system-icu \ - --without-npm \ - --shared-openssl \ - --shared-zlib \ - --shared-libuv \ - --shared-http-parser \ - --shared-cares - # --shared-v8 - - make -} - -check() { - cd node-$pkgver - # Expected failure: https://github.com/nodejs/node/issues/11627 - make test || warning "Tests failed" -} - -package() { - cd node-$pkgver - - make DESTDIR="$pkgdir" install - - install -D -m644 LICENSE \ - "$pkgdir"/usr/share/licenses/nodejs/LICENSE -} - -# vim:set ts=2 sw=2 et: Copied: nodejs/repos/community-x86_64/PKGBUILD (from rev 273360, nodejs/trunk/PKGBUILD) =================================================================== --- PKGBUILD (rev 0) +++ PKGBUILD 2017-12-08 18:07:25 UTC (rev 273361) @@ -0,0 +1,72 @@ +# $Id$ +# Maintainer: Felix Yan <felixonm...@archlinux.org> +# Contributor Bartłomiej Piotrowski <bpiotrow...@archlinux.org> +# Contributor: Thomas Dziedzic < gostrc at gmail > +# Contributor: James Campos <james.r.cam...@gmail.com> +# Contributor: BlackEagle < ike DOT devolder AT gmail DOT com > +# Contributor: Dongsheng Cai <dongsheng at moodle dot com> +# Contributor: Masutu Subric <masutu.arch at googlemail dot com> +# Contributor: TIanyi Cui <tianyi...@gmail.com> + +pkgname=nodejs +pkgver=9.2.1 +pkgrel=1 +pkgdesc='Evented I/O for V8 javascript' +arch=('x86_64') +url='http://nodejs.org/' +license=('MIT') +depends=('openssl-1.0' 'zlib' 'icu' 'libuv' 'http-parser' 'c-ares') # 'v8') +makedepends=('python2' 'procps-ng') +optdepends=('npm: nodejs package manager') +source=("nodejs-$pkgver.tar.gz::https://github.com/nodejs/node/archive/v$pkgver.tar.gz") +sha512sums=('682563bd0f17e7b771b7e8d38dfb9c1237fd7a680f887834a301e94836f42fd4db5e6ac17b1ed8447de30a1054cbac871995dbcd6424d23ea43251351d0ed4f9') + +prepare() { + cd node-$pkgver + + 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_^\( *exec \+\)python\( \+.*\)$_\1python2\2_'\ + -e 's_^\(.*\)python\( \+-c \+.*\)$_\1python2\2_'\ + -e "s_'python'_'python2'_" -i {} \; + find test/ -type f -exec sed 's_python _python2 _' -i {} \; +} + +build() { + cd node-$pkgver + + export PKG_CONFIG_PATH=/usr/lib/openssl-1.0/pkgconfig + export PYTHON=python2 + ./configure \ + --prefix=/usr \ + --with-intl=system-icu \ + --without-npm \ + --shared-openssl \ + --shared-zlib \ + --shared-libuv \ + --shared-http-parser \ + --shared-cares + # --shared-v8 + + make +} + +check() { + cd node-$pkgver + # Expected failure: https://github.com/nodejs/node/issues/11627 + make test || warning "Tests failed" +} + +package() { + cd node-$pkgver + + make DESTDIR="$pkgdir" install + + install -D -m644 LICENSE \ + "$pkgdir"/usr/share/licenses/nodejs/LICENSE +} + +# vim:set ts=2 sw=2 et: Deleted: rebuild.list =================================================================== --- rebuild.list 2017-12-08 18:06:57 UTC (rev 273360) +++ rebuild.list 2017-12-08 18:07:25 UTC (rev 273361) @@ -1 +0,0 @@ -apm Copied: nodejs/repos/community-x86_64/rebuild.list (from rev 273360, nodejs/trunk/rebuild.list) =================================================================== --- rebuild.list (rev 0) +++ rebuild.list 2017-12-08 18:07:25 UTC (rev 273361) @@ -0,0 +1 @@ +apm