Date: Friday, December 20, 2019 @ 07:24:56 Author: felixonmars Revision: 538467
archrelease: copy trunk to community-x86_64 Added: nodejs/repos/community-x86_64/PKGBUILD (from rev 538466, nodejs/trunk/PKGBUILD) nodejs/repos/community-x86_64/rebuild.list (from rev 538466, nodejs/trunk/rebuild.list) Deleted: nodejs/repos/community-x86_64/PKGBUILD nodejs/repos/community-x86_64/rebuild.list --------------+ PKGBUILD | 144 ++++++++++++++++++++++++++++----------------------------- rebuild.list | 4 - 2 files changed, 74 insertions(+), 74 deletions(-) Deleted: PKGBUILD =================================================================== --- PKGBUILD 2019-12-20 07:24:46 UTC (rev 538466) +++ PKGBUILD 2019-12-20 07:24:56 UTC (rev 538467) @@ -1,72 +0,0 @@ -# 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=13.4.0 -pkgrel=1 -pkgdesc='Evented I/O for V8 javascript' -arch=('x86_64') -url='https://nodejs.org/' -license=('MIT') -depends=('openssl' 'zlib' 'icu' 'libuv' 'c-ares' 'libnghttp2') # 'http-parser' '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=('dd8447d90bf3402a0c31c0907191c98ab1defa4d8f991355abcc2bdec1df4da97e375f473885017082c70d5b6b9d9bb94db6e5ac4dd044ad4a804bd1f361e780') - -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 PYTHON=python2 - ./configure \ - --prefix=/usr \ - --with-intl=system-icu \ - --without-npm \ - --shared-openssl \ - --shared-zlib \ - --shared-libuv \ - --experimental-http-parser \ - --shared-cares \ - --shared-nghttp2 - # --shared-v8 - # --shared-http-parser - - 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 538466, nodejs/trunk/PKGBUILD) =================================================================== --- PKGBUILD (rev 0) +++ PKGBUILD 2019-12-20 07:24:56 UTC (rev 538467) @@ -0,0 +1,72 @@ +# 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=13.5.0 +pkgrel=1 +pkgdesc='Evented I/O for V8 javascript' +arch=('x86_64') +url='https://nodejs.org/' +license=('MIT') +depends=('openssl' 'zlib' 'icu' 'libuv' 'c-ares' 'libnghttp2') # 'http-parser' '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=('d2b8ffa7b83ed1266b3d7c95efbe42166e6b26f8153a19c54abf27f4156e42b9ee20117b689c9df53e6a4e583d788702918914063031e05156c767a38e8ec46e') + +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 PYTHON=python2 + ./configure \ + --prefix=/usr \ + --with-intl=system-icu \ + --without-npm \ + --shared-openssl \ + --shared-zlib \ + --shared-libuv \ + --experimental-http-parser \ + --shared-cares \ + --shared-nghttp2 + # --shared-v8 + # --shared-http-parser + + 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 2019-12-20 07:24:46 UTC (rev 538466) +++ rebuild.list 2019-12-20 07:24:56 UTC (rev 538467) @@ -1,2 +0,0 @@ -apm -bash-language-server Copied: nodejs/repos/community-x86_64/rebuild.list (from rev 538466, nodejs/trunk/rebuild.list) =================================================================== --- rebuild.list (rev 0) +++ rebuild.list 2019-12-20 07:24:56 UTC (rev 538467) @@ -0,0 +1,2 @@ +apm +bash-language-server