[arch-commits] Commit in npm-check-updates/repos/community-any (PKGBUILD PKGBUILD)
Felix Yan
felixonmars at archlinux.org
Tue Nov 13 18:07:04 UTC 2018
Date: Tuesday, November 13, 2018 @ 18:07:03
Author: felixonmars
Revision: 407136
archrelease: copy trunk to community-any
Added:
npm-check-updates/repos/community-any/PKGBUILD
(from rev 407135, npm-check-updates/trunk/PKGBUILD)
Deleted:
npm-check-updates/repos/community-any/PKGBUILD
----------+
PKGBUILD | 54 ++++++++++++++++++++++++++----------------------------
1 file changed, 26 insertions(+), 28 deletions(-)
Deleted: PKGBUILD
===================================================================
--- PKGBUILD 2018-11-13 18:06:44 UTC (rev 407135)
+++ PKGBUILD 2018-11-13 18:07:03 UTC (rev 407136)
@@ -1,28 +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.14.2
-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)
-sha512sums=('932acb9c620898f6f858afd2ff8020b31299db5ced0bd28ffba68d4d9377d5c1899b8f86c87f9a36aec04afbc940ede239d83f73ad2a2dd655b4b4ce9f897481')
-
-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;
- done
-
- # Fix npm derp
- find "$pkgdir/usr" -type d -exec chmod 755 '{}' +
-}
Copied: npm-check-updates/repos/community-any/PKGBUILD (from rev 407135, npm-check-updates/trunk/PKGBUILD)
===================================================================
--- PKGBUILD (rev 0)
+++ PKGBUILD 2018-11-13 18:07:03 UTC (rev 407136)
@@ -0,0 +1,26 @@
+# 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.14.3
+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)
+sha512sums=('df345092a6b927349dcc906c58ad6cfb0c9ca701fb68dca49b9add83f92d62001f296d93cc1b909bce62ac6d1b9886fc64a47bff47733e43bc0a1d7f835f5aa2')
+
+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 npm semver; do
+ rm -r $dep;
+ done
+
+ # Fix npm derp
+ find "$pkgdir/usr" -type d -exec chmod 755 '{}' +
+}
More information about the arch-commits
mailing list