upgpkg: nodejs-homebridge-webos-tv 2.2.5-1

* New upstream release.
* Add dual hashes to PKGBUILD (sha512,b2).
This commit is contained in:
George Rawlinson 2021-10-05 06:54:35 +00:00
parent e7361d61f1
commit aa2bcd2a3c
Signed by: grawlinson
GPG key ID: E0959FEA8B550539

View file

@ -2,7 +2,7 @@
pkgname=nodejs-homebridge-webos-tv pkgname=nodejs-homebridge-webos-tv
_pkgname="${pkgname#nodejs-}" _pkgname="${pkgname#nodejs-}"
pkgver=2.2.2 pkgver=2.2.5
pkgrel=1 pkgrel=1
pkgdesc="Homebridge plugin for LG webOS TVs" pkgdesc="Homebridge plugin for LG webOS TVs"
arch=('any') arch=('any')
@ -13,12 +13,17 @@ makedepends=('npm')
options=('!strip') options=('!strip')
source=("$_pkgname-$pkgver.tar.gz::https://registry.npmjs.org/$_pkgname/-/$_pkgname-$pkgver.tgz") source=("$_pkgname-$pkgver.tar.gz::https://registry.npmjs.org/$_pkgname/-/$_pkgname-$pkgver.tgz")
noextract=("$_pkgname-$pkgver.tar.gz") noextract=("$_pkgname-$pkgver.tar.gz")
b2sums=('6a208aba330c24a70864f373a7b986d3f38c65ebc46735acebd5c03f363dfe9c13d0e656aac99cb033ece450d96738c83396e6c987c66b6e0d2435fd23165453') sha512sums=('83f6d8777ab5979799d9d2638d304bb0514a471d5c0a492b8b55f6f74428eba389ee9b82f0b39ce7813af7215a633ae8304d4ce5b91ca45e26ab0c72fe462722')
b2sums=('fd159d415a87606c602ba7c8d89a8e9c2b3a50373b426b74cd02a37cdf41290b8318ac129744490c31ea1a9c7bf7c64eb0dcdfe0c08c6c0ad4b2c1f3597408e1')
package() { package() {
local NPM_FLAGS=(--no-audit --no-fund --no-update-notifier) 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 # Non-deterministic race in npm gives 777 permissions to random directories
# See https://github.com/npm/cli/issues/1103 for details # See https://github.com/npm/cli/issues/1103 for details