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

Felix Yan felixonmars at archlinux.org
Tue Apr 24 17:09:23 UTC 2018


    Date: Tuesday, April 24, 2018 @ 17:09:22
  Author: felixonmars
Revision: 317587

upgpkg: npm 6.0.0-1

Modified:
  npm/trunk/PKGBUILD

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

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2018-04-24 17:06:51 UTC (rev 317586)
+++ PKGBUILD	2018-04-24 17:09:22 UTC (rev 317587)
@@ -2,8 +2,8 @@
 # Maintainer: Felix Yan <felixonmars at archlinux.org>
 
 pkgname=npm
-pkgver=5.8.0
-pkgrel=2
+pkgver=6.0.0
+pkgrel=1
 pkgdesc='A package manager for javascript'
 arch=('any')
 url='https://www.npmjs.com/'
@@ -12,7 +12,7 @@
 makedepends=('procps-ng' 'marked-man')
 options=('!emptydirs')
 source=("$pkgname-$pkgver.tar.gz::https://github.com/npm/npm/archive/v$pkgver.tar.gz")
-sha512sums=('63864ad8e6a6204f010bbe1ce728df00f97f1ef0c7e6bff9b59faec1d200eb1ea8687ffb42d032d040fe6e12a50756dacb50191e8d03687ed9e2f4d38013f35b')
+sha512sums=('7c5288a268373fa52d5b3d55bd5d40f71459cc2e2f5610b3ecbb61323cbd8b82d6e7ebb5fbea3449de22d4002329895ae3d99f6aceb62dae46875b4669e5cbbd')
 
 prepare() {
   cd npm-$pkgver
@@ -35,7 +35,7 @@
   # Experimental dedup
   _npmdir="$pkgdir"/usr/lib/node_modules/$pkgname
   rm -r "$_npmdir"/node_modules/{,.bin/}semver
-  rm -r "$_npmdir"/node_modules/npm-lifecycle/node_modules/{,.bin/}node-gyp
+  rm -r "$_npmdir"/node_modules/{,.bin/}node-gyp
   sed -i '/node-gyp.js/c\  exec /usr/bin/node-gyp "$@"' \
     "$_npmdir"/node_modules/npm-lifecycle/node-gyp-bin/node-gyp \
     "$_npmdir"/bin/node-gyp-bin/node-gyp



More information about the arch-commits mailing list