[arch-commits] Commit in npm/trunk (PKGBUILD)
Felix Yan
felixonmars at archlinux.org
Thu Jun 10 21:29:07 UTC 2021
Date: Thursday, June 10, 2021 @ 21:29:07
Author: felixonmars
Revision: 961775
upgpkg: npm 7.17.0-1
Modified:
npm/trunk/PKGBUILD
----------+
PKGBUILD | 7 ++++---
1 file changed, 4 insertions(+), 3 deletions(-)
Modified: PKGBUILD
===================================================================
--- PKGBUILD 2021-06-10 21:28:43 UTC (rev 961774)
+++ PKGBUILD 2021-06-10 21:29:07 UTC (rev 961775)
@@ -1,13 +1,13 @@
# Maintainer: Felix Yan <felixonmars at archlinux.org>
pkgname=npm
-pkgver=7.16.0
+pkgver=7.17.0
pkgrel=1
pkgdesc='A package manager for javascript'
arch=('any')
url='https://www.npmjs.com/'
license=('custom:Artistic')
-depends=('nodejs' 'node-gyp' 'semver')
+depends=('nodejs' 'node-gyp' 'nodejs-nopt' 'semver')
# libgl: TODO
# libvips: for sharp (doc build) (disabled as current version of gatsby imports a broken sharp)
# libxi: for cwebp (doc build)
@@ -14,7 +14,7 @@
makedepends=('libgl' 'libxi' 'marked' 'marked-man' 'procps-ng' 'python')
options=('!emptydirs')
source=("$pkgname-$pkgver.tar.gz::https://github.com/npm/cli/archive/v$pkgver.tar.gz")
-sha512sums=('7c56c24df7d09aefa3412af9872f25d6608bd830ddfed6fe09a710df04c76aac4581445dd8e4671952b1801a0901659eb2010cdc5abd61ddf33dc3017d911b2a')
+sha512sums=('01349884845e84b4cf79162624425ed838552b3e0cf248d5f2bad87cadc10c304a3107fdac3a14d60b177a1aa8816227c8b0fbf0e7fde8d27ab391f5ccbe5246')
prepare() {
cd cli-$pkgver
@@ -51,6 +51,7 @@
_npmdir="$pkgdir"/usr/lib/node_modules/$pkgname
rm -r "$_npmdir"/node_modules/{,.bin/}semver
rm -r "$_npmdir"/node_modules/{,.bin/}node-gyp
+ rm -r "$_npmdir"/node_modules/{,.bin/}nopt
sed -i 's|../../node_modules/node-gyp/bin/node-gyp.js|../../../node-gyp/bin/node-gyp.js|' \
"$_npmdir"/bin/node-gyp-bin/node-gyp
More information about the arch-commits
mailing list