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

Felix Yan felixonmars at archlinux.org
Fri Jan 22 17:57:25 UTC 2021


    Date: Friday, January 22, 2021 @ 17:57:25
  Author: felixonmars
Revision: 824703

archrelease: copy trunk to community-any

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

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

Deleted: PKGBUILD
===================================================================
--- PKGBUILD	2021-01-22 17:57:15 UTC (rev 824702)
+++ PKGBUILD	2021-01-22 17:57:25 UTC (rev 824703)
@@ -1,32 +0,0 @@
-# Maintainer: Felix Yan <felixonmars at archlinux.org>
-
-pkgname=node-gyp
-pkgver=7.1.1
-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=('fbb4eaba4cd05659dee4470baf0d02766f12dba382e07da64dbe708e2e0796ca1c801e9af5a60782a94a2cac513251ff3d63725508f246316189eb7bf9065e7c')
-
-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 824702, node-gyp/trunk/PKGBUILD)
===================================================================
--- PKGBUILD	                        (rev 0)
+++ PKGBUILD	2021-01-22 17:57:25 UTC (rev 824703)
@@ -0,0 +1,32 @@
+# 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
+}



More information about the arch-commits mailing list