Date: Wednesday, April 28, 2021 @ 09:55:42 Author: felixonmars Revision: 924876
archrelease: copy trunk to community-any Added: npm-check-updates/repos/community-any/PKGBUILD (from rev 924875, 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-04-28 09:55:34 UTC (rev 924875) +++ PKGBUILD 2021-04-28 09:55:42 UTC (rev 924876) @@ -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.3 -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=('fc708b2f705d4e9f17f47eccfcbc4a924a4f01a2ef5de4ade47016e012eab7e23a1ddebc8ad558aa0e021a18af9bfeb8b10d8209f4635f13a95c05361b0c7000') - -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 924875, npm-check-updates/trunk/PKGBUILD) =================================================================== --- PKGBUILD (rev 0) +++ PKGBUILD 2021-04-28 09:55:42 UTC (rev 924876) @@ -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.4 +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=('ac4ad0651fcef792f67a3605aecdfb1394166e8d1512e47be0428dabdcf45a570efd5f69f40b4acde681aa1b5f6df3b4001a93d7d67d596672f1710fd6efe71c') + +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" +}