nvpair-bin

LOW
maintainer wzl 0 votes scanned 2026-09-11 11:22:29.167775
View on AUR
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
3pkgname=nvpair-bin
4pkgver=0.1.1
5pkgrel=1
6pkgdesc='NVIDIA Personal AI Router for local inference (prebuilt binary)'
7arch=('x86_64' 'aarch64')
8url='https://github.com/NVIDIA/Personal-AI-Router'
9license=('Apache-2.0')
10depends=(
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)
17optdepends=(
18 'libappindicator: system tray integration'
19 'ollama: local inference backend'
20)
21provides=("nvpair=${pkgver}")
22conflicts=('nvpair')
23options=('!strip')
24
25source_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)
28source_aarch64=(
29 "${pkgname}-${pkgver}-aarch64.deb::https://github.com/NVIDIA/Personal-AI-Router/releases/download/v${pkgver}/NVPAIR-Setup-${pkgver}-arm64.deb"
30)
31sha256sums_x86_64=('879fc316b5bff9f26f05f02b40cacfff8f14c5c79a751bdd975d568b40b543ac')
32sha256sums_aarch64=('9f64b21c99fbd2517e3ef3ab9feec7f5aa0bcf4c338fa55846f0564148442229')
33noextract=(
34 "${pkgname}-${pkgver}-x86_64.deb"
35 "${pkgname}-${pkgver}-aarch64.deb"
36)
37
38package() {
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)SeverityRules
2026-09-11 11:22:29 Low 1

Report a package

Reports go to the AURWatch maintainer (one person) and are read by hand. No login required.

0 / 4000
Your suggestion