[arch-commits] Commit in npm-check-updates/repos/community-any (PKGBUILD PKGBUILD)
Felix Yan
felixonmars at gemini.archlinux.org
Mon Dec 20 02:11:22 UTC 2021
Date: Monday, December 20, 2021 @ 02:11:22
Author: felixonmars
Revision: 1079259
archrelease: copy trunk to community-any
Added:
npm-check-updates/repos/community-any/PKGBUILD
(from rev 1079258, npm-check-updates/trunk/PKGBUILD)
Deleted:
npm-check-updates/repos/community-any/PKGBUILD
----------+
PKGBUILD | 58 +++++++++++++++++++++++++++++-----------------------------
1 file changed, 29 insertions(+), 29 deletions(-)
Deleted: PKGBUILD
===================================================================
--- PKGBUILD 2021-12-20 02:11:14 UTC (rev 1079258)
+++ PKGBUILD 2021-12-20 02:11:22 UTC (rev 1079259)
@@ -1,29 +0,0 @@
-# Maintainer: Felix Yan <felixonmars at archlinux.org>
-
-pkgname=npm-check-updates
-pkgdesc='Find newer versions of dependencies than what your package.json or bower.json allows'
-pkgver=12.0.3
-pkgrel=1
-arch=('any')
-url='https://github.com/tjunnone/npm-check-updates'
-license=('Apache')
-depends=('nodejs-nopt' 'npm' 'semver')
-source=(https://registry.npmjs.org/$pkgname/-/$pkgname-$pkgver.tgz)
-noextract=($pkgname-$pkgver.tgz)
-sha512sums=('3131f3903658d5e6e13da0efcd6394f5bb78518747998e2d21c3026998e082e18a520c2aa241ff681d0dadce16719e2b0f8f754a9ba3e4320ba3f46f28079fbf')
-
-package() {
- npm install -g --prefix "$pkgdir"/usr "$srcdir"/$pkgname-$pkgver.tgz
-
- # Experimental dedup
- rm -r "$pkgdir"/usr/lib/node_modules/$pkgname/node_modules/{,.bin/}nopt
- rm -r "$pkgdir"/usr/lib/node_modules/$pkgname/node_modules/{,.bin/}semver
-
- # 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"
-}
Copied: npm-check-updates/repos/community-any/PKGBUILD (from rev 1079258, npm-check-updates/trunk/PKGBUILD)
===================================================================
--- PKGBUILD (rev 0)
+++ PKGBUILD 2021-12-20 02:11:22 UTC (rev 1079259)
@@ -0,0 +1,29 @@
+# Maintainer: Felix Yan <felixonmars at archlinux.org>
+
+pkgname=npm-check-updates
+pkgdesc='Find newer versions of dependencies than what your package.json or bower.json allows'
+pkgver=12.0.5
+pkgrel=1
+arch=('any')
+url='https://github.com/tjunnone/npm-check-updates'
+license=('Apache')
+depends=('nodejs-nopt' 'npm' 'semver')
+source=(https://registry.npmjs.org/$pkgname/-/$pkgname-$pkgver.tgz)
+noextract=($pkgname-$pkgver.tgz)
+sha512sums=('9ecd658810688308e6395658fcf620788a1aac8b7074e481c5c7090d928a931b0c91781eb3f069e42027408bd8c25b33e9f07240916fa9748eab0214058ea0a5')
+
+package() {
+ npm install -g --prefix "$pkgdir"/usr "$srcdir"/$pkgname-$pkgver.tgz
+
+ # Experimental dedup
+ rm -r "$pkgdir"/usr/lib/node_modules/$pkgname/node_modules/{,.bin/}nopt
+ rm -r "$pkgdir"/usr/lib/node_modules/$pkgname/node_modules/{,.bin/}semver
+
+ # 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"
+}
More information about the arch-commits
mailing list