[arch-commits] Commit in npm-check-updates/repos/community-any (PKGBUILD PKGBUILD)

Felix Yan felixonmars at archlinux.org
Mon Nov 28 03:20:15 UTC 2016


    Date: Monday, November 28, 2016 @ 03:20:14
  Author: felixonmars
Revision: 197066

archrelease: copy trunk to community-any

Added:
  npm-check-updates/repos/community-any/PKGBUILD
    (from rev 197065, npm-check-updates/trunk/PKGBUILD)
Deleted:
  npm-check-updates/repos/community-any/PKGBUILD

----------+
 PKGBUILD |   55 +++++++++++++++++++++++++++++--------------------------
 1 file changed, 29 insertions(+), 26 deletions(-)

Deleted: PKGBUILD
===================================================================
--- PKGBUILD	2016-11-28 03:19:59 UTC (rev 197065)
+++ PKGBUILD	2016-11-28 03:20:14 UTC (rev 197066)
@@ -1,26 +0,0 @@
-# $Id$
-# 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=2.8.6
-pkgrel=2
-arch=('any')
-url='https://github.com/tjunnone/npm-check-updates'
-license=('Apache')
-depends=('semver' 'npm')
-source=(http://registry.npmjs.org/$pkgname/-/$pkgname-$pkgver.tgz)
-noextract=($pkgname-$pkgver.tgz)
-sha256sums=('3e76090fc1e7f10b0e93e8cf643836a8e103ba3ec712c0e4ef357aa62d475695')
-
-package() {
-  npm install -g --user root --prefix "$pkgdir"/usr "$srcdir"/$pkgname-$pkgver.tgz
-  rm -r "$pkgdir"/usr/etc
-
-  # Experimental dedup
-  cd "$pkgdir"/usr/lib/node_modules/$pkgname/node_modules
-  for dep in npm semver; do
-    rm -r $dep;
-    npm link $dep;
-  done
-}

Copied: npm-check-updates/repos/community-any/PKGBUILD (from rev 197065, npm-check-updates/trunk/PKGBUILD)
===================================================================
--- PKGBUILD	                        (rev 0)
+++ PKGBUILD	2016-11-28 03:20:14 UTC (rev 197066)
@@ -0,0 +1,29 @@
+# $Id$
+# 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=2.8.7
+pkgrel=1
+arch=('any')
+url='https://github.com/tjunnone/npm-check-updates'
+license=('Apache')
+depends=('semver' 'npm')
+source=(http://registry.npmjs.org/$pkgname/-/$pkgname-$pkgver.tgz)
+noextract=($pkgname-$pkgver.tgz)
+sha256sums=('35322c51db611bbdab6aaf85562312d7f121cf1130effc3a500484ff32dd6d1e')
+
+package() {
+  npm install -g --user root --prefix "$pkgdir"/usr "$srcdir"/$pkgname-$pkgver.tgz
+  rm -r "$pkgdir"/usr/etc
+
+  # Experimental dedup
+  cd "$pkgdir"/usr/lib/node_modules/$pkgname/node_modules
+  for dep in npm semver; do
+    rm -r $dep;
+    npm link $dep;
+  done
+
+  # Fix npm derp
+  find "$pkgdir/usr" -type d -exec chmod 755 '{}' +
+}



More information about the arch-commits mailing list