[arch-commits] Commit in nodejs-lts-dubnium/repos (2 files)
Date: Monday, April 27, 2020 @ 07:54:27 Author: foutrelis Revision: 621795 archrelease: copy trunk to community-staging-x86_64 Added: nodejs-lts-dubnium/repos/community-staging-x86_64/ nodejs-lts-dubnium/repos/community-staging-x86_64/PKGBUILD (from rev 621794, nodejs-lts-dubnium/trunk/PKGBUILD) --+ PKGBUILD | 68 + 1 file changed, 68 insertions(+) Copied: nodejs-lts-dubnium/repos/community-staging-x86_64/PKGBUILD (from rev 621794, nodejs-lts-dubnium/trunk/PKGBUILD) === --- community-staging-x86_64/PKGBUILD (rev 0) +++ community-staging-x86_64/PKGBUILD 2020-04-27 07:54:27 UTC (rev 621795) @@ -0,0 +1,68 @@ +# Maintainer: Bruno Pagani + +pkgname=nodejs-lts-dubnium +pkgver=10.20.1 +pkgrel=2 +pkgdesc="Evented I/O for V8 javascript (LTS release: Dubnium)" +arch=(x86_64) +url="https://nodejs.org/; +license=(MIT) +depends=(openssl zlib icu libuv http-parser c-ares libnghttp2) +makedepends=(python2 procps-ng) +optdepends=('npm: nodejs package manager') +provides=("nodejs=$pkgver") +conflicts=(nodejs) +source=("${url}/dist/v${pkgver}/node-v${pkgver}.tar.xz") +# https://nodejs.org/download/release/latest-dubnium/SHASUMS256.txt.asc +sha256sums=(ee1f88a04c608aeda1299bbcb0895eebb6394e901f03398c377236905d95f492) +validpgpkeys=(C4F0DFFF4E8C1A8236409D08E73BC641CC11F4C8 # Myles Borins + 77984A986EBC2AA786BC0F66B01FBB92821C587A # Gibson Fahnestock + B9AE9905FFD7803F25714661B63B535A4C206CA9 # Evan Lucas + DD8F2338BAE7501E3DD5AC78C273792F7D83545D # Rod Vagg + B9E2F5981AA6E0CD28160D9FF13993A75599653C # Shelley Vohr + 4ED778F539E3634C779C87C6D7062848A1AB005C) # Beth Griggs + +prepare() { + cd node-v${pkgver} + + echo '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-v${pkgver} + + export PYTHON=python2 + ./configure \ +--prefix=/usr \ +--with-intl=system-icu \ +--without-npm \ +--shared-openssl \ +--shared-zlib \ +--shared-libuv \ +--shared-http-parser \ +--shared-cares \ +--shared-nghttp2 + + make +} + +check() { + cd node-v${pkgver} + # https://github.com/nodejs/node/issues/32765 + sed -i '/\$(MAKE) -s test-doc/d' Makefile + make test +} + +package() { + cd node-v${pkgver} + make DESTDIR="${pkgdir}" install + install -Dm644 LICENSE -t "${pkgdir}"/usr/share/licenses/${pkgname}/ +}
[arch-commits] Commit in nodejs-lts-dubnium/repos (2 files)
Date: Wednesday, March 25, 2020 @ 07:48:54 Author: diabonas Revision: 604045 archrelease: copy trunk to community-testing-x86_64 Added: nodejs-lts-dubnium/repos/community-testing-x86_64/ nodejs-lts-dubnium/repos/community-testing-x86_64/PKGBUILD (from rev 604044, nodejs-lts-dubnium/trunk/PKGBUILD) --+ PKGBUILD | 66 + 1 file changed, 66 insertions(+) Copied: nodejs-lts-dubnium/repos/community-testing-x86_64/PKGBUILD (from rev 604044, nodejs-lts-dubnium/trunk/PKGBUILD) === --- community-testing-x86_64/PKGBUILD (rev 0) +++ community-testing-x86_64/PKGBUILD 2020-03-25 07:48:54 UTC (rev 604045) @@ -0,0 +1,66 @@ +# Maintainer: Bruno Pagani + +pkgname=nodejs-lts-dubnium +pkgver=10.19.0 +pkgrel=2 +pkgdesc="Evented I/O for V8 javascript (LTS release: Dubnium)" +arch=(x86_64) +url="https://nodejs.org/; +license=(MIT) +depends=(openssl zlib icu libuv http-parser c-ares libnghttp2) +makedepends=(python2 procps-ng) +optdepends=('npm: nodejs package manager') +provides=("nodejs=$pkgver") +conflicts=(nodejs) +source=("${url}/dist/v${pkgver}/node-v${pkgver}.tar.xz") +# https://nodejs.org/download/release/latest-dubnium/SHASUMS256.txt.asc +sha256sums=(622721bc3e6b65faf7eb6a22bfb6e3e31817e42212aa6bf5a7991ea7d9b6f169) +validpgpkeys=(C4F0DFFF4E8C1A8236409D08E73BC641CC11F4C8 # Myles Borins + 77984A986EBC2AA786BC0F66B01FBB92821C587A # Gibson Fahnestock + B9AE9905FFD7803F25714661B63B535A4C206CA9 # Evan Lucas + DD8F2338BAE7501E3DD5AC78C273792F7D83545D # Rod Vagg + B9E2F5981AA6E0CD28160D9FF13993A75599653C # Shelley Vohr + 4ED778F539E3634C779C87C6D7062848A1AB005C) # Beth Griggs + +prepare() { + cd node-v${pkgver} + + echo '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-v${pkgver} + + export PYTHON=python2 + ./configure \ +--prefix=/usr \ +--with-intl=system-icu \ +--without-npm \ +--shared-openssl \ +--shared-zlib \ +--shared-libuv \ +--shared-http-parser \ +--shared-cares \ +--shared-nghttp2 + + make +} + +check() { + cd node-v${pkgver} + make test +} + +package() { + cd node-v${pkgver} + make DESTDIR="${pkgdir}" install + install -Dm644 LICENSE -t "${pkgdir}"/usr/share/licenses/${pkgname}/ +}
[arch-commits] Commit in nodejs-lts-dubnium/repos (2 files)
Date: Friday, February 14, 2020 @ 21:48:38 Author: archange Revision: 571312 archrelease: copy trunk to community-testing-x86_64 Added: nodejs-lts-dubnium/repos/community-testing-x86_64/ nodejs-lts-dubnium/repos/community-testing-x86_64/PKGBUILD (from rev 571311, nodejs-lts-dubnium/trunk/PKGBUILD) --+ PKGBUILD | 66 + 1 file changed, 66 insertions(+) Copied: nodejs-lts-dubnium/repos/community-testing-x86_64/PKGBUILD (from rev 571311, nodejs-lts-dubnium/trunk/PKGBUILD) === --- community-testing-x86_64/PKGBUILD (rev 0) +++ community-testing-x86_64/PKGBUILD 2020-02-14 21:48:38 UTC (rev 571312) @@ -0,0 +1,66 @@ +# Maintainer: Bruno Pagani + +pkgname=nodejs-lts-dubnium +pkgver=10.19.0 +pkgrel=1 +pkgdesc="Evented I/O for V8 javascript (LTS release: Dubnium)" +arch=(x86_64) +url="https://nodejs.org/; +license=(MIT) +depends=(openssl zlib icu libuv http-parser c-ares libnghttp2) +makedepends=(python2 procps-ng) +optdepends=('npm: nodejs package manager') +provides=("nodejs=$pkgver") +conflicts=(nodejs) +source=("${url}/dist/v${pkgver}/node-v${pkgver}.tar.xz") +# https://nodejs.org/download/release/latest-dubnium/SHASUMS256.txt.asc +sha256sums=(622721bc3e6b65faf7eb6a22bfb6e3e31817e42212aa6bf5a7991ea7d9b6f169) +validpgpkeys=(C4F0DFFF4E8C1A8236409D08E73BC641CC11F4C8 # Myles Borins + 77984A986EBC2AA786BC0F66B01FBB92821C587A # Gibson Fahnestock + B9AE9905FFD7803F25714661B63B535A4C206CA9 # Evan Lucas + DD8F2338BAE7501E3DD5AC78C273792F7D83545D # Rod Vagg + B9E2F5981AA6E0CD28160D9FF13993A75599653C # Shelley Vohr + 4ED778F539E3634C779C87C6D7062848A1AB005C) # Beth Griggs + +prepare() { + cd node-v${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-v${pkgver} + + export PYTHON=python2 + ./configure \ +--prefix=/usr \ +--with-intl=system-icu \ +--without-npm \ +--shared-openssl \ +--shared-zlib \ +--shared-libuv \ +--shared-http-parser \ +--shared-cares \ +--shared-nghttp2 + + make +} + +check() { + cd node-v${pkgver} + make test +} + +package() { + cd node-v${pkgver} + make DESTDIR="${pkgdir}" install + install -Dm644 LICENSE -t "${pkgdir}"/usr/share/licenses/${pkgname}/ +}
[arch-commits] Commit in nodejs-lts-dubnium/repos (2 files)
Date: Monday, November 11, 2019 @ 21:49:47 Author: foutrelis Revision: 526837 archrelease: copy trunk to community-staging-x86_64 Added: nodejs-lts-dubnium/repos/community-staging-x86_64/ nodejs-lts-dubnium/repos/community-staging-x86_64/PKGBUILD (from rev 526836, nodejs-lts-dubnium/trunk/PKGBUILD) --+ PKGBUILD | 66 + 1 file changed, 66 insertions(+) Copied: nodejs-lts-dubnium/repos/community-staging-x86_64/PKGBUILD (from rev 526836, nodejs-lts-dubnium/trunk/PKGBUILD) === --- community-staging-x86_64/PKGBUILD (rev 0) +++ community-staging-x86_64/PKGBUILD 2019-11-11 21:49:47 UTC (rev 526837) @@ -0,0 +1,66 @@ +# Maintainer: Bruno Pagani + +pkgname=nodejs-lts-dubnium +pkgver=10.17.0 +pkgrel=2 +pkgdesc="Evented I/O for V8 javascript (LTS release: Dubnium)" +arch=(x86_64) +url="https://nodejs.org/; +license=(MIT) +depends=(openssl zlib icu libuv http-parser c-ares libnghttp2) +makedepends=(python2 procps-ng) +optdepends=('npm: nodejs package manager') +provides=("nodejs=$pkgver") +conflicts=(nodejs) +source=("${url}/dist/v${pkgver}/node-v${pkgver}.tar.xz") +# https://nodejs.org/download/release/latest-dubnium/SHASUMS256.txt.asc +sha256sums=(412667d76bd5273c07cb69c215998109fd5bb35c874654f93e6a0132d666c58e) +validpgpkeys=(C4F0DFFF4E8C1A8236409D08E73BC641CC11F4C8 # Myles Borins + 77984A986EBC2AA786BC0F66B01FBB92821C587A # Gibson Fahnestock + B9AE9905FFD7803F25714661B63B535A4C206CA9 # Evan Lucas + DD8F2338BAE7501E3DD5AC78C273792F7D83545D # Rod Vagg + B9E2F5981AA6E0CD28160D9FF13993A75599653C # Shelley Vohr + 4ED778F539E3634C779C87C6D7062848A1AB005C) # Beth Griggs + +prepare() { + cd node-v${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-v${pkgver} + + export PYTHON=python2 + ./configure \ +--prefix=/usr \ +--with-intl=system-icu \ +--without-npm \ +--shared-openssl \ +--shared-zlib \ +--shared-libuv \ +--shared-http-parser \ +--shared-cares \ +--shared-nghttp2 + + make +} + +check() { + cd node-v${pkgver} + make test +} + +package() { + cd node-v${pkgver} + make DESTDIR="${pkgdir}" install + install -Dm644 LICENSE -t "${pkgdir}"/usr/share/licenses/${pkgname}/ +}
[arch-commits] Commit in nodejs-lts-dubnium/repos (2 files)
Date: Saturday, August 17, 2019 @ 10:00:29 Author: archange Revision: 499959 archrelease: copy trunk to community-testing-x86_64 Added: nodejs-lts-dubnium/repos/community-testing-x86_64/ nodejs-lts-dubnium/repos/community-testing-x86_64/PKGBUILD (from rev 499958, nodejs-lts-dubnium/trunk/PKGBUILD) --+ PKGBUILD | 68 + 1 file changed, 68 insertions(+) Copied: nodejs-lts-dubnium/repos/community-testing-x86_64/PKGBUILD (from rev 499958, nodejs-lts-dubnium/trunk/PKGBUILD) === --- community-testing-x86_64/PKGBUILD (rev 0) +++ community-testing-x86_64/PKGBUILD 2019-08-17 10:00:29 UTC (rev 499959) @@ -0,0 +1,68 @@ +# Maintainer: Bruno Pagani + +pkgname=nodejs-lts-dubnium +pkgver=10.16.3 +pkgrel=1 +pkgdesc="Evented I/O for V8 javascript (LTS release: Dubnium)" +arch=(x86_64) +url="https://nodejs.org/; +license=(MIT) +depends=(openssl zlib icu libuv http-parser c-ares libnghttp2) +makedepends=(python2 procps-ng) +optdepends=('npm: nodejs package manager') +provides=("nodejs=$pkgver") +conflicts=(nodejs) +source=("${url}/dist/v${pkgver}/node-v${pkgver}.tar.xz") +# https://nodejs.org/download/release/latest-dubnium/SHASUMS256.txt.asc +sha256sums=(7bf1123d7415964775b8f81fe6ec6dd5c3c08abb42bb71dfe4409dbeeba26bbd) +validpgpkeys=(C4F0DFFF4E8C1A8236409D08E73BC641CC11F4C8 # Myles Borins + 77984A986EBC2AA786BC0F66B01FBB92821C587A # Gibson Fahnestock + B9AE9905FFD7803F25714661B63B535A4C206CA9 # Evan Lucas + DD8F2338BAE7501E3DD5AC78C273792F7D83545D # Rod Vagg + B9E2F5981AA6E0CD28160D9FF13993A75599653C # Shelley Vohr + 4ED778F539E3634C779C87C6D7062848A1AB005C) # Beth Griggs + +prepare() { + cd node-v${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-v${pkgver} + + export PYTHON=python2 + ./configure \ +--prefix=/usr \ +--with-intl=system-icu \ +--without-npm \ +--shared-openssl \ +--shared-zlib \ +--shared-libuv \ +--shared-http-parser \ +--shared-cares \ +--shared-nghttp2 + + make +} + +check() { + cd node-v${pkgver} + make test +} + +package() { + cd node-v${pkgver} + + make DESTDIR="${pkgdir}" install + + install -Dm644 LICENSE -t "${pkgdir}"/usr/share/licenses/${pkgname}/ +}
[arch-commits] Commit in nodejs-lts-dubnium/repos (2 files)
Date: Friday, April 5, 2019 @ 10:47:27 Author: felixonmars Revision: 449787 archrelease: copy trunk to community-staging-x86_64 Added: nodejs-lts-dubnium/repos/community-staging-x86_64/ nodejs-lts-dubnium/repos/community-staging-x86_64/PKGBUILD (from rev 449786, nodejs-lts-dubnium/trunk/PKGBUILD) --+ PKGBUILD | 69 + 1 file changed, 69 insertions(+) Copied: nodejs-lts-dubnium/repos/community-staging-x86_64/PKGBUILD (from rev 449786, nodejs-lts-dubnium/trunk/PKGBUILD) === --- community-staging-x86_64/PKGBUILD (rev 0) +++ community-staging-x86_64/PKGBUILD 2019-04-05 10:47:27 UTC (rev 449787) @@ -0,0 +1,69 @@ +# Maintainer: Bruno Pagani + +pkgname=nodejs-lts-dubnium +pkgver=10.15.3 +pkgrel=2 +pkgdesc='Evented I/O for V8 javascript (LTS release: Dubnium)' +arch=('x86_64') +url="https://nodejs.org/; +license=('MIT') +depends=('openssl' 'zlib' 'icu' 'libuv' 'http-parser' 'c-ares' 'libnghttp2') +makedepends=('python2' 'procps-ng') +optdepends=('npm: nodejs package manager') +provides=("nodejs=$pkgver") +conflicts=('nodejs') +source=("${url}/dist/v${pkgver}/node-v${pkgver}.tar.xz") +# https://nodejs.org/download/release/latest-dubnium/SHASUMS256.txt.asc +sha256sums=('4e22d926f054150002055474e452ed6cbb85860aa7dc5422213a2002ed9791d5') +validpgpkeys=('C4F0DFFF4E8C1A8236409D08E73BC641CC11F4C8' # Myles Borins + '77984A986EBC2AA786BC0F66B01FBB92821C587A' # Gibson Fahnestock + 'B9AE9905FFD7803F25714661B63B535A4C206CA9' # Evan Lucas + 'DD8F2338BAE7501E3DD5AC78C273792F7D83545D' # Rod Vagg + 'B9E2F5981AA6E0CD28160D9FF13993A75599653C' # Shelley Vohr + '4ED778F539E3634C779C87C6D7062848A1AB005C') # Beth Griggs + +prepare() { + cd node-v${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-v${pkgver} + + export PYTHON=python2 + ./configure \ +--prefix=/usr \ +--with-intl=system-icu \ +--without-npm \ +--shared-openssl \ +--shared-zlib \ +--shared-libuv \ +--shared-http-parser \ +--shared-cares \ +--shared-nghttp2 + + make +} + +check() { + cd node-v${pkgver} + # Numerous HTTP2/TLS failures + make test || warning "Tests failed" +} + +package() { + cd node-v${pkgver} + + make DESTDIR="${pkgdir}" install + + install -Dm644 LICENSE -t "${pkgdir}"/usr/share/licenses/${pkgname}/ +}
[arch-commits] Commit in nodejs-lts-dubnium/repos (2 files)
Date: Friday, December 28, 2018 @ 12:12:04 Author: archange Revision: 418631 archrelease: copy trunk to community-staging-x86_64 Added: nodejs-lts-dubnium/repos/community-staging-x86_64/ nodejs-lts-dubnium/repos/community-staging-x86_64/PKGBUILD (from rev 418630, nodejs-lts-dubnium/trunk/PKGBUILD) --+ PKGBUILD | 67 + 1 file changed, 67 insertions(+) Copied: nodejs-lts-dubnium/repos/community-staging-x86_64/PKGBUILD (from rev 418630, nodejs-lts-dubnium/trunk/PKGBUILD) === --- community-staging-x86_64/PKGBUILD (rev 0) +++ community-staging-x86_64/PKGBUILD 2018-12-28 12:12:04 UTC (rev 418631) @@ -0,0 +1,67 @@ +# Maintainer: Bruno Pagani + +pkgname=nodejs-lts-dubnium +pkgver=10.15.0 +pkgrel=2 +pkgdesc='Evented I/O for V8 javascript (LTS release: Dubnium)' +arch=('x86_64') +url="https://nodejs.org/; +license=('MIT') +depends=('openssl' 'zlib' 'icu' 'libuv' 'http-parser' 'c-ares' 'libnghttp2') +makedepends=('python2' 'procps-ng') +optdepends=('npm: nodejs package manager') +provides=("nodejs=$pkgver") +conflicts=('nodejs') +source=("${url}/dist/v${pkgver}/node-v${pkgver}.tar.xz") +# https://nodejs.org/download/release/latest-dubnium/SHASUMS256.txt.asc +sha256sums=('797ab34c74b83b21b7d6ea261b5ca235d34c61a7da5aebb32459a963097ede3e') +validpgpkeys=('C4F0DFFF4E8C1A8236409D08E73BC641CC11F4C8' # Myles Borins + '77984A986EBC2AA786BC0F66B01FBB92821C587A' # Gibson Fahnestock + 'B9AE9905FFD7803F25714661B63B535A4C206CA9' # Evan Lucas + 'DD8F2338BAE7501E3DD5AC78C273792F7D83545D') # Rod Vagg + +prepare() { + cd node-v${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-v${pkgver} + + export PYTHON=python2 + ./configure \ +--prefix=/usr \ +--with-intl=system-icu \ +--without-npm \ +--shared-openssl \ +--shared-zlib \ +--shared-libuv \ +--shared-http-parser \ +--shared-cares \ +--shared-nghttp2 + + make +} + +check() { + cd node-v${pkgver} + # Numerous HTTP2/TLS failures + make test || warning "Tests failed" +} + +package() { + cd node-v${pkgver} + + make DESTDIR="${pkgdir}" install + + install -Dm644 LICENSE -t "${pkgdir}"/usr/share/licenses/${pkgname}/ +}
[arch-commits] Commit in nodejs-lts-dubnium/repos (2 files)
Date: Wednesday, October 31, 2018 @ 18:40:15 Author: archange Revision: 400461 archrelease: copy trunk to community-x86_64 Added: nodejs-lts-dubnium/repos/community-x86_64/ nodejs-lts-dubnium/repos/community-x86_64/PKGBUILD (from rev 400460, nodejs-lts-dubnium/trunk/PKGBUILD) --+ PKGBUILD | 67 + 1 file changed, 67 insertions(+) Copied: nodejs-lts-dubnium/repos/community-x86_64/PKGBUILD (from rev 400460, nodejs-lts-dubnium/trunk/PKGBUILD) === --- community-x86_64/PKGBUILD (rev 0) +++ community-x86_64/PKGBUILD 2018-10-31 18:40:15 UTC (rev 400461) @@ -0,0 +1,67 @@ +# Maintainer: Bruno Pagani + +pkgname=nodejs-lts-dubnium +pkgver=10.13.0 +pkgrel=1 +pkgdesc='Evented I/O for V8 javascript (LTS release: Dubnium)' +arch=('x86_64') +url="https://nodejs.org/; +license=('MIT') +depends=('openssl' 'zlib' 'icu' 'libuv' 'http-parser' 'c-ares' 'libnghttp2') +makedepends=('python2' 'procps-ng') +optdepends=('npm: nodejs package manager') +provides=("nodejs=$pkgver") +conflicts=('nodejs') +source=("${url}/dist/v${pkgver}/node-v${pkgver}.tar.xz") +# https://nodejs.org/download/release/latest-dubnium/SHASUMS256.txt.asc +sha256sums=('8d80c96a0c28fb508c90de474b1967acd800896f184b8a18235a7e4613fae641') +validpgpkeys=('C4F0DFFF4E8C1A8236409D08E73BC641CC11F4C8' # Myles Borins + '77984A986EBC2AA786BC0F66B01FBB92821C587A' # Gibson Fahnestock + 'B9AE9905FFD7803F25714661B63B535A4C206CA9' # Evan Lucas + 'DD8F2338BAE7501E3DD5AC78C273792F7D83545D') # Rod Vagg + +prepare() { + cd node-v${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-v${pkgver} + + export PYTHON=python2 + ./configure \ +--prefix=/usr \ +--with-intl=system-icu \ +--without-npm \ +--shared-openssl \ +--shared-zlib \ +--shared-libuv \ +--shared-http-parser \ +--shared-cares \ +--shared-nghttp2 + + make +} + +check() { + cd node-v${pkgver} + # Expected failure: https://github.com/nodejs/node/issues/11627 + make test || warning "Tests failed" +} + +package() { + cd node-v${pkgver} + + make DESTDIR="${pkgdir}" install + + install -Dm644 LICENSE -t "${pkgdir}"/usr/share/licenses/${pkgname}/ +}