upgpkg: nodejs-homebridge-denon-tv 3.12.0-1

New upstream release.
This commit is contained in:
George Rawlinson 2021-10-05 06:57:32 +00:00
parent aa2bcd2a3c
commit 274f4e994d
Signed by: grawlinson
GPG key ID: E0959FEA8B550539

View file

@ -2,7 +2,7 @@
pkgname=nodejs-homebridge-denon-tv
_pkgname="${pkgname#nodejs-}"
pkgver=3.11.0
pkgver=3.12.0
pkgrel=1
pkgdesc="Homebridge plugin for Denon/Marantz AV receivers"
arch=('any')
@ -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")
b2sums=('b79eb2a4cc185844bebaec674cf407a898996950d9a5ff7b74d08df80bdd04ae082f1e039baa3c4b58693aa0f15e1a1b6b817a84f91ee41b9e81e9ac6abbc726')
sha512sums=('ce775535983085be213cc3a4bc76d6f6fbfb9b9fb815936bebf4b28ae19b1694852ef50e8c1a50332012ba74104e2eb85ff143c397461113a06748cac7f648e3')
b2sums=('b37379611559e740107416f4a090a4a08b399918e1b75b3cd7a1890d7f46b3808f35c4b124db81d34513edb1042b951dedef1059340e66e335f3008807c64911')
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