cua-driver-bin

maintainer catHeadCoffee · 0 votes · scanned 2026-08-03 00:08:14.047287
LOW
View on AUR ↗
Why flagged The package installs a prebuilt binary from the project's official GitHub releases, which is normal for AUR packages; the only concerns are low-risk: SKIP'd checksum for the .service file and few votes/recent upload, but no code execution or supply-chain red flags.

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.

LOW AI review llm_review

An AI model (qwen/qwen3-235b-a22b-2507) reviewed this and agrees it is LOW (confidence 95%): The package installs a prebuilt binary from the project's official GitHub releases, which is normal for AUR packages; the only concerns are low-risk: SKIP'd checksum for the .service file and few votes/recent upload, but no code execution or supply-chain red flags.

PKGBUILD

1# Maintainer: coffee <catheadcoffee@gmail.com>
2# cua-driver — desktop control daemon from trycua/cua (cua-driver-rs).
3#
4# Split out of hermes-agent-bin: cua-driver is released independently
5# (cua-driver-rs-v* tags on the trycua/cua repo) and has its own cadence,
6# so it gets its own package. Hermes Agent consumes it via PATH lookup
7# (default command "cua-driver", override HERMES_CUA_DRIVER_CMD), so this
8# package installs /usr/bin/cua-driver and the auxiliary files that must
9# sit next to the real binary (cua-cursor-theme compiler, SDK libs,
10# wayland-helper GNOME extension).
11#
12# Layout rationale (matches upstream install.sh semantics):
13# /usr/lib/cua-driver/ real binary + aux files (version dir)
14# /usr/bin/cua-driver -> /usr/lib/cua-driver/cua-driver
15# /usr/bin/cua-cursor-theme -> /usr/lib/cua-driver/cua-cursor-theme
16# /usr/lib/systemd/user/cua-driver.service
17#
18# cua-driver resolves its own real path (binary_path via /proc/self/exe
19# equivalent) and locates aux files relative to it — verified with the
20# symlinked layout above. Keeping everything in one directory preserves
21# that contract, unlike scattering files across /usr/bin and /usr/share.
22
23pkgname=cua-driver-bin
24pkgver=0.14.2
25pkgrel=1
26pkgdesc="Desktop control daemon (cua-driver-rs) from trycua/cua — background window driving, clicks, typing, browser automation via MCP"
27arch=('x86_64')
28url="https://github.com/trycua/cua"
29license=('Apache-2.0')
30depends=(
31 'libx11'
32 'libxi'
33 'libxkbcommon'
34 'glibc'
35 'gcc-libs'
36)
37optdepends=(
38 'gnome-shell: wayland-helper GNOME extension (winrects@cua)'
39 'ffmpeg: video capture (start_recording)'
40 'wf-recorder: native Wayland video capture'
41)
42
43# Binary tarball from the cua-driver-rs-v* release tag (official channel).
44# Only linux-x86_64 assets are published (aarch64/armv7 return 404).
45source=(
46 "cua-driver-rs-${pkgver}-linux-x86_64-binary.tar.gz::https://github.com/trycua/cua/releases/download/cua-driver-rs-v${pkgver}/cua-driver-rs-${pkgver}-linux-x86_64-binary.tar.gz"
47 "cua-driver.service"
48)
49sha256sums=('2ee12b6170e22aacde74e672634fcb777d84d4752c2f2de3627365d2fc20a84e'
50 'SKIP')
51
52# ── Package ─────────────────────────────────────────────────────────
53package() {
54 local _libdir="${pkgdir}/usr/lib/cua-driver"
55 install -d "$_libdir"
56
57 # Extract everything into /usr/lib/cua-driver/ — cua-driver finds
58 # cua-cursor-theme, libcua_driver_sdk.so, cua_driver_node_runtime.node
59 # and wayland-helper/ relative to its own real path.
60 tar xzf "${srcdir}/cua-driver-rs-${pkgver}-linux-x86_64-binary.tar.gz" -C "$_libdir"
61
62 # Visible PATH entries (symlinks; real binary stays in /usr/lib).
63 install -d "${pkgdir}/usr/bin"
64 ln -s /usr/lib/cua-driver/cua-driver "${pkgdir}/usr/bin/cua-driver"
65 ln -s /usr/lib/cua-driver/cua-cursor-theme "${pkgdir}/usr/bin/cua-cursor-theme"
66
67 # systemd user service for the daemon.
68 install -Dm644 "${srcdir}/cua-driver.service" \
69 "${pkgdir}/usr/lib/systemd/user/cua-driver.service"
70}
71
72install=${pkgname}.install
73

Scan history

Scanned at (UTC)SeverityRules
2026-08-03 00:08:14 LOW 2
2026-08-02 00:16:08 LOW 2
2026-08-01 03:19:42 LOW 2

Report a package

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

0 / 4000
Your suggestion