Date: Friday, November 11, 2022 @ 13:25:03 Author: felixonmars Revision: 1346639
archrelease: copy trunk to community-any Added: npm-check-updates/repos/community-any/PKGBUILD (from rev 1346638, npm-check-updates/trunk/PKGBUILD) Deleted: npm-check-updates/repos/community-any/PKGBUILD ----------+ PKGBUILD | 60 ++++++++++++++++++++++++++++++------------------------------ 1 file changed, 30 insertions(+), 30 deletions(-) Deleted: PKGBUILD =================================================================== --- PKGBUILD 2022-11-11 13:24:55 UTC (rev 1346638) +++ PKGBUILD 2022-11-11 13:25:03 UTC (rev 1346639) @@ -1,30 +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=16.3.17 -pkgrel=1 -arch=('any') -url='https://github.com/tjunnone/npm-check-updates' -license=('Apache') -depends=('nodejs-nopt' 'npm' 'semver') -makedepends=('git') -source=(https://registry.npmjs.org/$pkgname/-/$pkgname-$pkgver.tgz) -noextract=($pkgname-$pkgver.tgz) -sha512sums=('f0b71e13058c082a245978fba495c0e992c2214ca44e66e37f3454c196b704288330025b6e26cfa04db4a6ba78863c2ad86752d636431977d195f9a89b111c8d') - -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 1346638, npm-check-updates/trunk/PKGBUILD) =================================================================== --- PKGBUILD (rev 0) +++ PKGBUILD 2022-11-11 13:25:03 UTC (rev 1346639) @@ -0,0 +1,30 @@ +# 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=16.3.18 +pkgrel=1 +arch=('any') +url='https://github.com/tjunnone/npm-check-updates' +license=('Apache') +depends=('nodejs-nopt' 'npm' 'semver') +makedepends=('git') +source=(https://registry.npmjs.org/$pkgname/-/$pkgname-$pkgver.tgz) +noextract=($pkgname-$pkgver.tgz) +sha512sums=('278a8e916b62dc3de60cd6e8d43ee80445ad49cb7e1f1c14d6b4572723043ceae4c845ecb1cd4a4bba60bedb1714ef1032d4a0edd2f2c728bcb2d2c2ef29b8fa') + +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" +}