[arch-commits] Commit in nodejs-lts-dubnium/repos/community-x86_64 (PKGBUILD PKGBUILD)
Bruno Pagani
archange at archlinux.org
Wed Aug 7 16:33:50 UTC 2019
Date: Wednesday, August 7, 2019 @ 16:33:50
Author: archange
Revision: 498157
archrelease: copy trunk to community-x86_64
Added:
nodejs-lts-dubnium/repos/community-x86_64/PKGBUILD
(from rev 498156, nodejs-lts-dubnium/trunk/PKGBUILD)
Deleted:
nodejs-lts-dubnium/repos/community-x86_64/PKGBUILD
----------+
PKGBUILD | 137 ++++++++++++++++++++++++++++++-------------------------------
1 file changed, 68 insertions(+), 69 deletions(-)
Deleted: PKGBUILD
===================================================================
--- PKGBUILD 2019-08-07 16:25:17 UTC (rev 498156)
+++ PKGBUILD 2019-08-07 16:33:50 UTC (rev 498157)
@@ -1,69 +0,0 @@
-# Maintainer: Bruno Pagani <archange at archlinux.org>
-
-pkgname=nodejs-lts-dubnium
-pkgver=10.16.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=(18e37f891d10ea7fbc8f6410c444c2b1d9cc3cbbb1d35aa9c41f761816956608)
-validpgpkeys=(C4F0DFFF4E8C1A8236409D08E73BC641CC11F4C8 # Myles Borins <mylesborins at google.com>
- 77984A986EBC2AA786BC0F66B01FBB92821C587A # Gibson Fahnestock <gibfahn at gmail.com>
- B9AE9905FFD7803F25714661B63B535A4C206CA9 # Evan Lucas <evanlucas at me.com>
- DD8F2338BAE7501E3DD5AC78C273792F7D83545D # Rod Vagg <rod at vagg.org>
- B9E2F5981AA6E0CD28160D9FF13993A75599653C # Shelley Vohr <shelley.vohr at gmail.com>
- 4ED778F539E3634C779C87C6D7062848A1AB005C) # Beth Griggs <Bethany.Griggs at uk.ibm.com>
-
-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}
- # release test-dns fails
- make test || warning "Tests failed"
-}
-
-package() {
- cd node-v${pkgver}
-
- make DESTDIR="${pkgdir}" install
-
- install -Dm644 LICENSE -t "${pkgdir}"/usr/share/licenses/${pkgname}/
-}
Copied: nodejs-lts-dubnium/repos/community-x86_64/PKGBUILD (from rev 498156, nodejs-lts-dubnium/trunk/PKGBUILD)
===================================================================
--- PKGBUILD (rev 0)
+++ PKGBUILD 2019-08-07 16:33:50 UTC (rev 498157)
@@ -0,0 +1,68 @@
+# Maintainer: Bruno Pagani <archange at archlinux.org>
+
+pkgname=nodejs-lts-dubnium
+pkgver=10.16.2
+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=(6cbc17795e9259dce7a8f5fd5a2e46f9e6920fb48b7d9539c5b2faa5bb5db4d8)
+validpgpkeys=(C4F0DFFF4E8C1A8236409D08E73BC641CC11F4C8 # Myles Borins <mylesborins at google.com>
+ 77984A986EBC2AA786BC0F66B01FBB92821C587A # Gibson Fahnestock <gibfahn at gmail.com>
+ B9AE9905FFD7803F25714661B63B535A4C206CA9 # Evan Lucas <evanlucas at me.com>
+ DD8F2338BAE7501E3DD5AC78C273792F7D83545D # Rod Vagg <rod at vagg.org>
+ B9E2F5981AA6E0CD28160D9FF13993A75599653C # Shelley Vohr <shelley.vohr at gmail.com>
+ 4ED778F539E3634C779C87C6D7062848A1AB005C) # Beth Griggs <Bethany.Griggs at uk.ibm.com>
+
+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}/
+}
More information about the arch-commits
mailing list