Date: Wednesday, March 22, 2017 @ 03:27:34 Author: felixonmars Revision: 218265
archrelease: copy trunk to community-any Added: npm-check-updates/repos/community-any/PKGBUILD (from rev 218264, 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 2017-03-22 03:27:16 UTC (rev 218264) +++ PKGBUILD 2017-03-22 03:27:34 UTC (rev 218265) @@ -1,29 +0,0 @@ -# $Id$ -# Maintainer: Felix Yan <felixonm...@archlinux.org> - -pkgname=npm-check-updates -pkgdesc='Find newer versions of dependencies than what your package.json or bower.json allows' -pkgver=2.10.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) -sha256sums=('f73dcef93eaed41ab0f0c7cec66034c67126fffd627688a29c2512ba1fc95ab1') - -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 '{}' + -} Copied: npm-check-updates/repos/community-any/PKGBUILD (from rev 218264, npm-check-updates/trunk/PKGBUILD) =================================================================== --- PKGBUILD (rev 0) +++ PKGBUILD 2017-03-22 03:27:34 UTC (rev 218265) @@ -0,0 +1,29 @@ +# $Id$ +# Maintainer: Felix Yan <felixonm...@archlinux.org> + +pkgname=npm-check-updates +pkgdesc='Find newer versions of dependencies than what your package.json or bower.json allows' +pkgver=2.10.4 +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=('da40878fb5944e3d08c942b86ca4988c3c98120503f73e473bf9ae36ac5cfc17') + +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 '{}' + +}