upgpkg: homebridge-platform-orbit 1.5.1-1

primary
George Rawlinson 2021-08-08 00:10:10 +00:00
parent b1515c571b
commit 057921ddd5
Signed by: grawlinson
GPG Key ID: E0959FEA8B550539
1 changed files with 5 additions and 3 deletions

View File

@ -2,7 +2,7 @@
pkgname=nodejs-homebridge-platform-orbit
_pkgname="${pkgname#nodejs-}"
pkgver=1.4.5
pkgver=1.5.1
pkgrel=1
pkgdesc="Homebridge plugin for Orbit Irrigation System"
arch=('any')
@ -13,10 +13,12 @@ makedepends=('npm')
options=('!strip')
source=("$_pkgname-$pkgver.tar.gz::https://registry.npmjs.org/$_pkgname/-/$_pkgname-$pkgver.tgz")
noextract=("$_pkgname-$pkgver.tar.gz")
b2sums=('1c4e2c643dd682a5d5d7ebba2def4037b020954512319dd32ebd09c02031ff227605a24a6f1d99a0fb670c083a20ca69a4d55704b4b7e59846595760344d6d82')
b2sums=('49972f8b923ee5700bfcecd51039b5c96c54ab2b691c008f852b8f99171ff64e941d3cbf2ee90da399401677cd8fd16e46635cd3c7e2247df3f6ef4d57b3816b')
package() {
npm install --global --prefix "$pkgdir/usr" "$_pkgname-$pkgver.tar.gz"
local NPM_FLAGS=(--no-audit --no-fund --no-update-notifier)
npm install --global --prefix "$pkgdir/usr" "$_pkgname-$pkgver.tar.gz" "${NPM_FLAGS[@]}"
# Non-deterministic race in npm gives 777 permissions to random directories
# See https://github.com/npm/cli/issues/1103 for details