[arch-commits] Commit in node-gyp/repos/community-any (PKGBUILD PKGBUILD)

Felix Yan felixonmars at archlinux.org
Tue May 4 04:44:01 UTC 2021


    Date: Tuesday, May 4, 2021 @ 04:44:00
  Author: felixonmars
Revision: 927350

archrelease: copy trunk to community-any

Added:
  node-gyp/repos/community-any/PKGBUILD
    (from rev 927349, node-gyp/trunk/PKGBUILD)
Deleted:
  node-gyp/repos/community-any/PKGBUILD

----------+
 PKGBUILD |   64 ++++++++++++++++++++++++++++++-------------------------------
 1 file changed, 32 insertions(+), 32 deletions(-)

Deleted: PKGBUILD
===================================================================
--- PKGBUILD	2021-05-04 04:43:44 UTC (rev 927349)
+++ PKGBUILD	2021-05-04 04:44:00 UTC (rev 927350)
@@ -1,32 +0,0 @@
-# Maintainer: Felix Yan <felixonmars at archlinux.org>
-
-pkgname=node-gyp
-pkgver=7.1.2
-pkgrel=1
-pkgdesc='Node.js native addon build tool'
-arch=('any')
-url='https://github.com/nodejs/node-gyp'
-license=('MIT')
-depends=('nodejs' 'python' 'semver')
-makedepends=('npm')
-source=(https://registry.npmjs.org/$pkgname/-/$pkgname-$pkgver.tgz)
-noextract=($pkgname-$pkgver.tgz)
-sha512sums=('09ba5c228ec2dde32eddd2f5737774c70e38f5f1c81802c826c44fe030cf1e9ca25bcbdcae2358eee6e1f53138cc429f4b1b1c63b3e37859ec844ee1ef9ca78d')
-
-package() {
-  npm install -g --user root --prefix "$pkgdir"/usr "$srcdir"/$pkgname-$pkgver.tgz
-
-  # Non-deterministic race in npm gives 777 permissions to random directories.
-  # See https://github.com/npm/npm/issues/9359 for details.
-  chmod -R u=rwX,go=rX "$pkgdir"
-
-  # npm installs package.json owned by build user
-  # https://bugs.archlinux.org/task/63396
-  chown -R root:root "$pkgdir"
-
-  # Experimental dedup
-  rm -r "$pkgdir"/usr/lib/node_modules/$pkgname/node_modules/semver
-
-  install -d "$pkgdir"/usr/share/licenses/$pkgname
-  ln -s ../../../lib/node_modules/$pkgname/LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
-}

Copied: node-gyp/repos/community-any/PKGBUILD (from rev 927349, node-gyp/trunk/PKGBUILD)
===================================================================
--- PKGBUILD	                        (rev 0)
+++ PKGBUILD	2021-05-04 04:44:00 UTC (rev 927350)
@@ -0,0 +1,32 @@
+# Maintainer: Felix Yan <felixonmars at archlinux.org>
+
+pkgname=node-gyp
+pkgver=8.0.0
+pkgrel=1
+pkgdesc='Node.js native addon build tool'
+arch=('any')
+url='https://github.com/nodejs/node-gyp'
+license=('MIT')
+depends=('nodejs' 'python' 'semver')
+makedepends=('npm')
+source=(https://registry.npmjs.org/$pkgname/-/$pkgname-$pkgver.tgz)
+noextract=($pkgname-$pkgver.tgz)
+sha512sums=('26877a371c96b5cc2ba4041ed0efda5cea42e507e7728b60b46ef7760eb9cfa556fc2ea0fc6e2389a8d741404827ca64fd57ccea605813d04dfc7bee753ba751')
+
+package() {
+  npm install -g --prefix "$pkgdir"/usr "$srcdir"/$pkgname-$pkgver.tgz
+
+  # Non-deterministic race in npm gives 777 permissions to random directories.
+  # See https://github.com/npm/npm/issues/9359 for details.
+  chmod -R u=rwX,go=rX "$pkgdir"
+
+  # npm installs package.json owned by build user
+  # https://bugs.archlinux.org/task/63396
+  chown -R root:root "$pkgdir"
+
+  # Experimental dedup
+  rm -r "$pkgdir"/usr/lib/node_modules/$pkgname/node_modules/semver
+
+  install -d "$pkgdir"/usr/share/licenses/$pkgname
+  ln -s ../../../lib/node_modules/$pkgname/LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
+}



More information about the arch-commits mailing list