nvpair-bin
LOW
maintainer wzl
0 votes
scanned 2026-09-11 11:22:29.167775
Why flagged
Uploaded within the last 14 days with 2 or fewer community votes — little peer review so far.
Triggered rules
Low
Few votes, recently uploaded
zero_votes_recent
Uploaded within the last 14 days with 2 or fewer community votes — little peer review so far.
PKGBUILD
1
# Maintainer: wzl <git@wzl.cc>
2
3
pkgname=nvpair-bin
4
pkgver=0.1.1
5
pkgrel=1
6
pkgdesc='NVIDIA Personal AI Router for local inference (prebuilt binary)'
7
arch=('x86_64' 'aarch64')
8
url='https://github.com/NVIDIA/Personal-AI-Router'
9
license=('Apache-2.0')
10
depends=(
11
'alsa-lib' 'at-spi2-core' 'cairo' 'cups' 'dbus' 'expat' 'gcc-libs'
12
'glib2' 'glibc' 'gtk3' 'libnotify' 'libsecret' 'libx11' 'libxcb'
13
'libxcomposite' 'libxdamage' 'libxext' 'libxfixes' 'libxkbcommon'
14
'libxrandr' 'libxss' 'libxtst' 'mesa' 'nspr' 'nss' 'pango'
15
'systemd-libs' 'util-linux-libs' 'xdg-utils'
16
)
17
optdepends=(
18
'libappindicator: system tray integration'
19
'ollama: local inference backend'
20
)
21
provides=("nvpair=${pkgver}")
22
conflicts=('nvpair')
23
options=('!strip')
24
25
source_x86_64=(
26
"${pkgname}-${pkgver}-x86_64.deb::https://github.com/NVIDIA/Personal-AI-Router/releases/download/v${pkgver}/NVPAIR-Setup-${pkgver}-amd64.deb"
27
)
28
source_aarch64=(
29
"${pkgname}-${pkgver}-aarch64.deb::https://github.com/NVIDIA/Personal-AI-Router/releases/download/v${pkgver}/NVPAIR-Setup-${pkgver}-arm64.deb"
30
)
31
sha256sums_x86_64=('879fc316b5bff9f26f05f02b40cacfff8f14c5c79a751bdd975d568b40b543ac')
32
sha256sums_aarch64=('9f64b21c99fbd2517e3ef3ab9feec7f5aa0bcf4c338fa55846f0564148442229')
33
noextract=(
34
"${pkgname}-${pkgver}-x86_64.deb"
35
"${pkgname}-${pkgver}-aarch64.deb"
36
)
37
38
package() {
39
local deb="${srcdir}/${pkgname}-${pkgver}-${CARCH}.deb"
40
41
# The upstream package currently contains data.tar.xz.
42
bsdtar -xOf "$deb" data.tar.xz | \
43
bsdtar --no-same-owner -xpf - -C "$pkgdir"
44
45
# Upstream duplicates Name as Comment, which desktop-file-validate warns about.
46
sed -i 's/^Comment=.*/Comment=Route local AI inference across compatible computers/' \
47
"${pkgdir}/usr/share/applications/nvpair.desktop"
48
49
# The Debian postinst creates this TUI launcher. Put it under pacman's
50
# ownership instead of creating an unmanaged file during installation.
51
install -d "${pkgdir}/usr/bin"
52
printf '%s\n' \
53
'#!/bin/sh' \
54
'exec /opt/PAIR/resources/cli-bin/nvpair-tui "$@"' \
55
> "${pkgdir}/usr/bin/nvpair"
56
chmod 0755 "${pkgdir}/usr/bin/nvpair"
57
58
# Required by Electron when the setuid sandbox is used.
59
chmod 4755 "${pkgdir}/opt/PAIR/chrome-sandbox"
60
61
# electron-builder emitted a few mode 0666 data files.
62
chmod -R go-w "$pkgdir"
63
chmod 4755 "${pkgdir}/opt/PAIR/chrome-sandbox"
64
65
install -Dm644 "${pkgdir}/opt/PAIR/resources/LICENSE" \
66
"${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
67
install -Dm644 "${pkgdir}/opt/PAIR/resources/THIRD_PARTY_NOTICES.md" \
68
"${pkgdir}/usr/share/licenses/${pkgname}/THIRD_PARTY_NOTICES.md"
69
}
70
Scan history
| Scanned at (UTC) | Severity | Rules |
|---|---|---|
| 2026-09-11 11:22:29 | Low | 1 |