rmpkg: homebridge

This commit is contained in:
George Rawlinson 2024-10-05 20:28:36 +13:00
parent 642d532833
commit b45744e66d
Signed by: grawlinson
GPG key ID: E0959FEA8B550539
6 changed files with 0 additions and 119 deletions

6
.gitmodules vendored
View file

@ -250,12 +250,6 @@
[submodule "home-assistant-hacs"] [submodule "home-assistant-hacs"]
path = home-assistant-hacs path = home-assistant-hacs
url = ssh://aur@aur.archlinux.org/home-assistant-hacs.git url = ssh://aur@aur.archlinux.org/home-assistant-hacs.git
[submodule "homebridge"]
path = homebridge
url = ssh://aur@aur.archlinux.org/homebridge.git
[submodule "homebridge-config-ui-x"]
path = homebridge-config-ui-x
url = ssh://aur@aur.archlinux.org/homebridge-config-ui-x.git
[submodule "html2md"] [submodule "html2md"]
path = html2md path = html2md
url = ssh://aur@aur.archlinux.org/html2md.git url = ssh://aur@aur.archlinux.org/html2md.git

@ -1 +0,0 @@
Subproject commit 81ca922e43dc6a0cdced6e7c0d8185b9b69a0f1b

@ -1 +0,0 @@
Subproject commit af5ec929aa82ff9590dd908d20727f893262beac

View file

@ -1,37 +0,0 @@
# Maintainer: George Rawlinson <george@rawlinson.net.nz>
pkgname=homebridge-denon-tv
pkgver=3.12.0
pkgrel=1
pkgdesc="Homebridge plugin for Denon/Marantz AV receivers"
arch=('any')
url="https://github.com/grzegorz914/homebridge-denon-tv"
license=('MIT')
depends=('homebridge')
makedepends=('npm')
options=('!strip')
source=("$pkgname-$pkgver.tar.gz::https://registry.npmjs.org/$pkgname/-/$pkgname-$pkgver.tgz")
noextract=("$pkgname-$pkgver.tar.gz")
sha512sums=('ce775535983085be213cc3a4bc76d6f6fbfb9b9fb815936bebf4b28ae19b1694852ef50e8c1a50332012ba74104e2eb85ff143c397461113a06748cac7f648e3')
b2sums=('b37379611559e740107416f4a090a4a08b399918e1b75b3cd7a1890d7f46b3808f35c4b124db81d34513edb1042b951dedef1059340e66e335f3008807c64911')
package() {
local NPM_FLAGS=(--no-audit --no-fund --no-update-notifier)
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
find "$pkgdir/usr" -type d -exec chmod 755 {} +
# npm gives ownership of ALL FILES to build user
# https://bugs.archlinux.org/task/63396
chown -R root:root "$pkgdir"
install -vDm644 -t "$pkgdir/usr/share/licenses/$pkgname" \
"$pkgdir/usr/lib/node_modules/$pkgname/LICENSE"
}

View file

@ -1,37 +0,0 @@
# Maintainer: George Rawlinson <george@rawlinson.net.nz>
pkgname=homebridge-platform-orbit
pkgver=1.5.1
pkgrel=1
pkgdesc="Homebridge plugin for Orbit Irrigation System"
arch=('any')
url="https://github.com/MortJC/homebridge-platform-orbit"
license=('MIT')
depends=('homebridge')
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" \
"${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
find "$pkgdir/usr" -type d -exec chmod 755 {} +
# npm gives ownership of ALL FILES to build user
# https://bugs.archlinux.org/task/63396
chown -R root:root "$pkgdir"
install -vDm644 -t "$pkgdir/usr/share/licenses/$pkgname" \
"$pkgdir/usr/lib/node_modules/$pkgname/LICENSE"
}

View file

@ -1,37 +0,0 @@
# Maintainer: George Rawlinson <george@rawlinson.net.nz>
pkgname=homebridge-webos-tv
pkgver=2.2.5
pkgrel=1
pkgdesc="Homebridge plugin for LG webOS TVs"
arch=('any')
url="https://github.com/merdok/homebridge-webos-tv"
license=('MIT')
depends=('homebridge')
makedepends=('npm')
options=('!strip')
source=("$pkgname-$pkgver.tar.gz::https://registry.npmjs.org/$pkgname/-/$pkgname-$pkgver.tgz")
noextract=("$pkgname-$pkgver.tar.gz")
sha512sums=('83f6d8777ab5979799d9d2638d304bb0514a471d5c0a492b8b55f6f74428eba389ee9b82f0b39ce7813af7215a633ae8304d4ce5b91ca45e26ab0c72fe462722')
b2sums=('fd159d415a87606c602ba7c8d89a8e9c2b3a50373b426b74cd02a37cdf41290b8318ac129744490c31ea1a9c7bf7c64eb0dcdfe0c08c6c0ad4b2c1f3597408e1')
package() {
local NPM_FLAGS=(--no-audit --no-fund --no-update-notifier)
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
find "$pkgdir/usr" -type d -exec chmod 755 {} +
# npm gives ownership of ALL FILES to build user
# https://bugs.archlinux.org/task/63396
chown -R root:root "$pkgdir"
install -vDm644 -t "$pkgdir/usr/share/licenses/$pkgname" \
"$pkgdir/usr/lib/node_modules/$pkgname/LICENSE"
}