Date: Monday, May 3, 2021 @ 15:45:24 Author: felixonmars Revision: 927224
archrelease: copy trunk to community-any Added: npm-check-updates/repos/community-any/PKGBUILD (from rev 927223, 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 2021-05-03 15:45:02 UTC (rev 927223) +++ PKGBUILD 2021-05-03 15:45:24 UTC (rev 927224) @@ -1,31 +0,0 @@ -# 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=11.5.9 -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=('0fe160ac136d0491e5f83d67dfae02b10cbfa3a248ae1fbbbfe4979e037301ec8e56f73cc3fd72af9a6faa0b9541622f76e0b71dc448f3b6a6903a7b8a9cc7ec') - -package() { - npm install -g --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 927223, npm-check-updates/trunk/PKGBUILD) =================================================================== --- PKGBUILD (rev 0) +++ PKGBUILD 2021-05-03 15:45:24 UTC (rev 927224) @@ -0,0 +1,31 @@ +# 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=11.5.10 +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=('fa72ab941683825350584579f9bc7a64c24073a540fda29baad2acf9fafa7b071e745da17ccc473197b96fc996f5252ef9b8edb7f4ab3c7c64a0089ea59205a4') + +package() { + npm install -g --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" +}