c0wrk-zabbius-cuda-git
The package builds from a pinned Git commit of a public fork and replaces the CPU ONNX library with a GPU version via `make fetch-onnx-gpu`, which is part of the same project's build process; the only concerns are unverified sources (SKIP'd checksum) and low popularity, but no remote code execution or malicious behavior is present.
Triggered rules
zero_votes_recent
Uploaded within the last 14 days with 2 or fewer community votes — little peer review so far.
llm_review
An AI model (qwen/qwen3-235b-a22b-2507) reviewed this and agrees it is LOW (confidence 95%): The package builds from a pinned Git commit of a public fork and replaces the CPU ONNX library with a GPU version via `make fetch-onnx-gpu`, which is part of the same project's build process; the only concerns are unverified sources (SKIP'd checksum) and low popularity, but no remote code execution or malicious behavior is present.
PKGBUILD
# Maintainer: zabbius <https://github.com/zabbius>
# c0wrk CUDA flavor (git build pinned to a fixed commit of the fork).
#
# Symmetric counterpart of c0wrk-zabbius-git: same binary, same layout, plus
# the CUDA Execution Provider libraries of ONNX Runtime (the CPU library that
# `make build` installs is replaced by the GPU build). Both packages provide
# `c0wrk` / `c0wrk-desktop` and conflict with each other, so exactly one
# flavor can be installed at a time.
#
# Layout rationale: the app resolves libonnxruntime.so and models/ RELATIVE to
# the real binary path (os.Executable() dereferences the /proc/self/exe
# symlink), so the executable tree lives in /opt/c0wrk and /usr/bin/c0wrk-desktop
# is an absolute symlink — safe by design.
pkgname=c0wrk-zabbius-cuda-git
pkgver=0.7.3.r73.g8689191
pkgrel=1
pkgdesc='Desktop AI coding-agent built with Wails (Go + React) — CUDA flavor, git build'
arch=(x86_64)
url='https://github.com/zabbius/c0wrk'
license=(MIT)
depends=(gtk3 webkit2gtk-4.1 'cuda>=13' 'cuda<14' nvidia-utils)
makedepends=(git go nodejs npm wails)
provides=(c0wrk c0wrk-desktop)
conflicts=(c0wrk c0wrk-desktop c0wrk-zabbius-git)
options=(!strip)
# Deterministic build: the source is pinned to an exact commit (#commit=) and
# pkgver is STATIC — there is no pkgver() function on purpose. The version
# encodes the pinned commit's position relative to the last tag
# (0.7.3.r60.g8f332bbd = tag v0.7.3 + 60 commits + short SHA g8f332bbd) and
# is known in advance, so it is written by hand here and only changes when
# the pin changes. To move to a newer commit, run ../bump-commit.sh [REF]
# from the sibling AUR repo root — it rewrites #commit=, pkgver=, pkgrel=
# here and in the CPU package, and regenerates both .SRCINFO files.
# `wails` (AUR) must match the version required by go.mod: v2.15.0.
source=(
'c0wrk::git+https://github.com/zabbius/c0wrk.git#commit=8689191858ca26db71d6e6068faaef499a26d099'
'c0wrk.desktop'
)
sha256sums=(
'SKIP'
'817980d6896b98a304ade9b151125408e83bdc00c0e7f006eb5f6d7bb486fe62'
)
build() {
# GOTOOLCHAIN=auto lets Go fetch the toolchain pinned by go.mod when the
# system one is older; keeps the AUR build working across toolchain bumps.
export GOTOOLCHAIN=auto
# The Wails CLI comes from the `wails` makedepend (AUR); its version must
# match the wails/v2 library pinned in go.mod (v2.15.0).
cd "$srcdir/c0wrk"
# `make build` = wails build (webkit2_41 tag) + fetch-onnx (CPU flavor) +
# fetch-embedding-model. VERSION/GITCOMMIT are `?=` in the Makefile, so
# passing them here overrides the fallback and keeps the About dialog free
# of "dev"/"none" placeholders.
make build \
VERSION="$(git describe --tags --always)" \
GITCOMMIT="$(git rev-parse --short HEAD)"
# CUDA flavor: swap in the GPU build of ONNX Runtime 1.28.1 (cuda13) on top
# of the CPU one `make build` just installed — it replaces libonnxruntime.so
# and adds the CUDA/shared provider libraries. Order matters: this MUST run
# after `make build`, never before.
make fetch-onnx-gpu
}
package() {
cd "$srcdir/c0wrk"
# /opt/c0wrk application tree (binary + ONNX Runtime GPU libs + models,
# all resolved by the app relative to the real executable path).
install -Dm755 build/bin/c0wrk-desktop "$pkgdir/opt/c0wrk/c0wrk-desktop"
install -Dm755 build/bin/libonnxruntime.so "$pkgdir/opt/c0wrk/libonnxruntime.so"
install -Dm755 build/bin/libonnxruntime_providers_cuda.so "$pkgdir/opt/c0wrk/libonnxruntime_providers_cuda.so"
install -Dm755 build/bin/libonnxruntime_providers_shared.so "$pkgdir/opt/c0wrk/libonnxruntime_providers_shared.so"
install -Dm644 build/bin/models/jina-v2-small.onnx "$pkgdir/opt/c0wrk/models/jina-v2-small.onnx"
install -Dm644 build/bin/models/jina-v2-small-tokenizer.json "$pkgdir/opt/c0wrk/models/jina-v2-small-tokenizer.json"
# Absolute symlink: os.Executable() dereferences it to /opt/c0wrk, so the
# app still finds libonnxruntime.so and models/ next to the real binary.
install -d "$pkgdir/usr/bin"
ln -s /opt/c0wrk/c0wrk-desktop "$pkgdir/usr/bin/c0wrk-desktop"
# Desktop entry, icon and license.
install -Dm644 "$srcdir/c0wrk.desktop" "$pkgdir/usr/share/applications/c0wrk.desktop"
install -Dm644 build/appicon.png "$pkgdir/usr/share/icons/hicolor/512x512/apps/c0wrk.png"
install -Dm644 LICENSE "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
}
Scan history
| Scanned at (UTC) | Severity | Rules |
|---|---|---|
| 2026-09-11 17:22:59 | Low | 2 |