From e7361d61f1d27e2fa6caba54dadfb5f7ab6a3e88 Mon Sep 17 00:00:00 2001 From: George Rawlinson Date: Tue, 5 Oct 2021 06:52:22 +0000 Subject: [PATCH] upgpkg: nodejs-homebridge-platform-orbit --- nodejs-homebridge-platform-orbit/PKGBUILD | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/nodejs-homebridge-platform-orbit/PKGBUILD b/nodejs-homebridge-platform-orbit/PKGBUILD index aeacca6..d58ae08 100644 --- a/nodejs-homebridge-platform-orbit/PKGBUILD +++ b/nodejs-homebridge-platform-orbit/PKGBUILD @@ -13,12 +13,17 @@ makedepends=('npm') options=('!strip') source=("$_pkgname-$pkgver.tar.gz::https://registry.npmjs.org/$_pkgname/-/$_pkgname-$pkgver.tgz") noextract=("$_pkgname-$pkgver.tar.gz") +sha512sums=('0b23610b49ae38966645a7974c7f2050d87591784ee9fcb880d6ce9fa26d022713f973106168db40524ac72e1930fce2792bdc5d09dff5089bc7b1102f48d141') b2sums=('49972f8b923ee5700bfcecd51039b5c96c54ab2b691c008f852b8f99171ff64e941d3cbf2ee90da399401677cd8fd16e46635cd3c7e2247df3f6ef4d57b3816b') package() { local NPM_FLAGS=(--no-audit --no-fund --no-update-notifier) - npm install --global --prefix "$pkgdir/usr" "$_pkgname-$pkgver.tar.gz" "${NPM_FLAGS[@]}" + npm install \ + --global \ + --prefix "$pkgdir/usr" \ + "${NPM_FLAGS[@]}" \ + "$_pkgname-$pkgver.tar.gz" # Non-deterministic race in npm gives 777 permissions to random directories # See https://github.com/npm/cli/issues/1103 for details