[arch-commits] Commit in npm-check-updates/repos/community-any (PKGBUILD PKGBUILD)
Felix Yan
felixonmars at gemini.archlinux.org
Thu Sep 1 10:19:01 UTC 2022
Date: Thursday, September 1, 2022 @ 10:19:01
Author: felixonmars
Revision: 1290079
archrelease: copy trunk to community-any
Added:
npm-check-updates/repos/community-any/PKGBUILD
(from rev 1290078, npm-check-updates/trunk/PKGBUILD)
Deleted:
npm-check-updates/repos/community-any/PKGBUILD
----------+
PKGBUILD | 60 ++++++++++++++++++++++++++++++------------------------------
1 file changed, 30 insertions(+), 30 deletions(-)
Deleted: PKGBUILD
===================================================================
--- PKGBUILD 2022-09-01 10:18:48 UTC (rev 1290078)
+++ PKGBUILD 2022-09-01 10:19:01 UTC (rev 1290079)
@@ -1,30 +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=15.2.5
-pkgrel=1
-arch=('any')
-url='https://github.com/tjunnone/npm-check-updates'
-license=('Apache')
-depends=('nodejs-nopt' 'npm' 'semver')
-makedepends=('git')
-source=(https://registry.npmjs.org/$pkgname/-/$pkgname-$pkgver.tgz)
-noextract=($pkgname-$pkgver.tgz)
-sha512sums=('3e024297d885c762cafc956d94354cf029d0cd16a4b0892f3ceec976e20b567a54d944786bf83a9c1bc308ad3d589ae14f2c8c6abda1270ed2373d04c349d5d6')
-
-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 1290078, npm-check-updates/trunk/PKGBUILD)
===================================================================
--- PKGBUILD (rev 0)
+++ PKGBUILD 2022-09-01 10:19:01 UTC (rev 1290079)
@@ -0,0 +1,30 @@
+# 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=15.2.6
+pkgrel=1
+arch=('any')
+url='https://github.com/tjunnone/npm-check-updates'
+license=('Apache')
+depends=('nodejs-nopt' 'npm' 'semver')
+makedepends=('git')
+source=(https://registry.npmjs.org/$pkgname/-/$pkgname-$pkgver.tgz)
+noextract=($pkgname-$pkgver.tgz)
+sha512sums=('9578a13fee848c75bbe04344e98616d9f79499db1f2b87afbacd994c2c937744129e61ddc746dc1e9887b2382a8cfb48aa01cf2572c2ad5ea0777246619837c6')
+
+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