[arch-commits] Commit in npm-check-updates/repos/community-any (PKGBUILD PKGBUILD)
Felix Yan
felixonmars at archlinux.org
Tue Apr 7 22:08:41 UTC 2020
Date: Tuesday, April 7, 2020 @ 22:08:40
Author: felixonmars
Revision: 612518
archrelease: copy trunk to community-any
Added:
npm-check-updates/repos/community-any/PKGBUILD
(from rev 612517, npm-check-updates/trunk/PKGBUILD)
Deleted:
npm-check-updates/repos/community-any/PKGBUILD
----------+
PKGBUILD | 62 ++++++++++++++++++++++++++++++-------------------------------
1 file changed, 31 insertions(+), 31 deletions(-)
Deleted: PKGBUILD
===================================================================
--- PKGBUILD 2020-04-07 22:08:20 UTC (rev 612517)
+++ PKGBUILD 2020-04-07 22:08:40 UTC (rev 612518)
@@ -1,31 +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=4.1.1
-pkgrel=1
-arch=('any')
-url='https://github.com/tjunnone/npm-check-updates'
-license=('Apache')
-depends=('npm' 'semver')
-source=(https://registry.npmjs.org/$pkgname/-/$pkgname-$pkgver.tgz)
-noextract=($pkgname-$pkgver.tgz)
-sha512sums=('3b52eec17f21074ebe7c210727870e501f3b7cf538e0a0c0a345f9457806b20534c5a411a9a5b7ad9b5d72e142ee73a725855a7e7f7745397d1d8e1cabbd82f2')
-
-package() {
- npm install -g --user root --prefix "$pkgdir"/usr "$srcdir"/$pkgname-$pkgver.tgz
-
- # Experimental dedup
- cd "$pkgdir"/usr/lib/node_modules/$pkgname/node_modules
- for dep in semver; do
- rm -r $dep;
- done
-
- # 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 612517, npm-check-updates/trunk/PKGBUILD)
===================================================================
--- PKGBUILD (rev 0)
+++ PKGBUILD 2020-04-07 22:08:40 UTC (rev 612518)
@@ -0,0 +1,31 @@
+# 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=4.1.2
+pkgrel=1
+arch=('any')
+url='https://github.com/tjunnone/npm-check-updates'
+license=('Apache')
+depends=('npm' 'semver')
+source=(https://registry.npmjs.org/$pkgname/-/$pkgname-$pkgver.tgz)
+noextract=($pkgname-$pkgver.tgz)
+sha512sums=('0913b6d19d767f280a2ffa30e23e299e9cb17af75afcfb856d6a6c17913db055b407e337777d80d5d0fe7d31cb0e381d7ab84a5ebeb85bca90e8cfc6abc38b8b')
+
+package() {
+ npm install -g --user root --prefix "$pkgdir"/usr "$srcdir"/$pkgname-$pkgver.tgz
+
+ # Experimental dedup
+ cd "$pkgdir"/usr/lib/node_modules/$pkgname/node_modules
+ for dep in semver; do
+ rm -r $dep;
+ done
+
+ # 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