[arch-commits] Commit in node-gyp/trunk (PKGBUILD)

Felix Yan felixonmars at archlinux.org
Thu Jun 10 21:36:43 UTC 2021


    Date: Thursday, June 10, 2021 @ 21:36:43
  Author: felixonmars
Revision: 961789

upgpkg: node-gyp 8.1.0-2

Modified:
  node-gyp/trunk/PKGBUILD

----------+
 PKGBUILD |    7 ++++---
 1 file changed, 4 insertions(+), 3 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2021-06-10 21:36:11 UTC (rev 961788)
+++ PKGBUILD	2021-06-10 21:36:43 UTC (rev 961789)
@@ -2,12 +2,12 @@
 
 pkgname=node-gyp
 pkgver=8.1.0
-pkgrel=1
+pkgrel=2
 pkgdesc='Node.js native addon build tool'
 arch=('any')
 url='https://github.com/nodejs/node-gyp'
 license=('MIT')
-depends=('nodejs' 'python' 'semver')
+depends=('nodejs' 'nodejs-nopt' 'python' 'semver')
 makedepends=('npm')
 source=(https://registry.npmjs.org/$pkgname/-/$pkgname-$pkgver.tgz)
 noextract=($pkgname-$pkgver.tgz)
@@ -25,7 +25,8 @@
   chown -R root:root "$pkgdir"
 
   # Experimental dedup
-  rm -r "$pkgdir"/usr/lib/node_modules/$pkgname/node_modules/semver
+  rm -r "$pkgdir"/usr/lib/node_modules/$pkgname/node_modules/{,.bin/}nopt
+  rm -r "$pkgdir"/usr/lib/node_modules/$pkgname/node_modules/{,.bin/}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