Date: Sunday, January 24, 2021 @ 12:20:47 Author: felixonmars Revision: 828091
archrelease: copy trunk to community-any Added: npm-check-updates/repos/community-any/PKGBUILD (from rev 828090, 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-01-24 12:20:36 UTC (rev 828090) +++ PKGBUILD 2021-01-24 12:20:47 UTC (rev 828091) @@ -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.0.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=('972cd4dc444d8cfc8820c5fd10fe2f6520df6677c800266f8ae1c160ac773760c74ac3343ff2db4378af5a3b6b9f9474285c744ddc5af414e1d1f4c07f2205c4') - -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 828090, npm-check-updates/trunk/PKGBUILD) =================================================================== --- PKGBUILD (rev 0) +++ PKGBUILD 2021-01-24 12:20:47 UTC (rev 828091) @@ -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.0.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=('0a4fbd62ae81fcde74cba96618dd1b2d7d7f4c4b1e6ffd314d64806df89ad4d5431f6b80cdc021c008096e4393a90b8cf8ee8a0bcd258974e4f2d0b5c363ca38') + +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" +}