Date: Wednesday, July 7, 2021 @ 08:47:44 Author: felixonmars Revision: 974240
archrelease: copy trunk to community-any Added: npm-check-updates/repos/community-any/PKGBUILD (from rev 974239, 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 2021-07-07 08:47:36 UTC (rev 974239) +++ PKGBUILD 2021-07-07 08:47:44 UTC (rev 974240) @@ -1,29 +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.8.0 -pkgrel=1 -arch=('any') -url='https://github.com/tjunnone/npm-check-updates' -license=('Apache') -depends=('nodejs-nopt' 'npm' 'semver') -source=(https://registry.npmjs.org/$pkgname/-/$pkgname-$pkgver.tgz) -noextract=($pkgname-$pkgver.tgz) -sha512sums=('95c0ef6cac5a9de3f6d90c05f3e3c87b40b247818c93c366524451a5c959de649133331b57ea1f901330b19d9bde897e80b67922d21e4848aba999d5068b4487') - -package() { - npm install -g --prefix "$pkgdir"/usr "$srcdir"/$pkgname-$pkgver.tgz - - # Experimental dedup - rm -r "$pkgdir"/usr/lib/node_modules/$pkgname/node_modules/{,.bin/}nopt - rm -r "$pkgdir"/usr/lib/node_modules/$pkgname/node_modules/{,.bin/}semver - - # 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 974239, npm-check-updates/trunk/PKGBUILD) =================================================================== --- PKGBUILD (rev 0) +++ PKGBUILD 2021-07-07 08:47:44 UTC (rev 974240) @@ -0,0 +1,29 @@ +# 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.8.1 +pkgrel=1 +arch=('any') +url='https://github.com/tjunnone/npm-check-updates' +license=('Apache') +depends=('nodejs-nopt' 'npm' 'semver') +source=(https://registry.npmjs.org/$pkgname/-/$pkgname-$pkgver.tgz) +noextract=($pkgname-$pkgver.tgz) +sha512sums=('11a2a6df9e925d0f2f66d68596190d014939bd06c82c2874f51929224c72a871b56e1e2ba00c9455afad80fb878b8a3e4d6efcd3d1b99b0c73950b865d24068f') + +package() { + npm install -g --prefix "$pkgdir"/usr "$srcdir"/$pkgname-$pkgver.tgz + + # Experimental dedup + rm -r "$pkgdir"/usr/lib/node_modules/$pkgname/node_modules/{,.bin/}nopt + rm -r "$pkgdir"/usr/lib/node_modules/$pkgname/node_modules/{,.bin/}semver + + # 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" +}