c0wrk-cuda
LOW
maintainer Zabbius
0 votes
scanned 2026-09-17 15:25:49.288233
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: zabbius <https://github.com/zabbius>
2
# c0wrk CUDA flavor — binary repack of the upstream GitHub Release
3
# (https://github.com/v0lka/c0wrk). Nothing is compiled locally: the archive
4
# is the official c0wrk-desktop-linux-amd64-cuda13.tar.gz built by
5
# .github/workflows/release.yml (wails build + CUDA 13 ONNX Runtime +
6
# provider libraries + embedding model), pinned here by its sha256.
7
#
8
# Symmetric counterpart of c0wrk: same binary, same layout, plus the CUDA
9
# Execution Provider libraries of ONNX Runtime (the CPU libonnxruntime.so
10
# built by `make build` is replaced by the GPU build). Both packages provide
11
# `c0wrk-desktop` and conflict with each other, so exactly one flavor can be
12
# installed at a time.
13
#
14
# Layout rationale: the app resolves libonnxruntime.so and models/ RELATIVE to
15
# the real binary path (os.Executable() dereferences the /proc/self/exe
16
# symlink), so the executable tree lives in /opt/c0wrk and /usr/bin/c0wrk-desktop
17
# is an absolute symlink — safe by design.
18
19
pkgname=c0wrk-cuda
20
pkgver=0.8.3
21
pkgrel=1
22
pkgdesc='Desktop AI coding-agent built with Wails (Go + React) — CUDA flavor, upstream release binaries'
23
arch=(x86_64)
24
url='https://github.com/v0lka/c0wrk'
25
license=(MIT)
26
depends=(gtk3 webkit2gtk-4.1 'cuda>=13' 'cuda<14' nvidia-utils)
27
provides=(c0wrk-desktop)
28
conflicts=(c0wrk-desktop c0wrk c0wrk-zabbius-git c0wrk-zabbius-cuda-git)
29
options=(!strip)
30
31
# Version-independent files: LICENSE and the 512x512 app icon are taken from
32
# the same tag as the binary (release archives do not ship them); the desktop
33
# entry is local. Kept on single lines — bump-release.sh rewrites these arrays
34
# wholesale.
35
source=("LICENSE::$url/raw/v$pkgver/LICENSE" 'c0wrk.desktop' 'c0wrk.png')
36
sha256sums=('26a0f4863f365c987a6762b0a48e987136543118989b2f00f2d57c70a45ffd15' '817980d6896b98a304ade9b151125408e83bdc00c0e7f006eb5f6d7bb486fe62' '7004f261089ce6744435156a4c6952e2d4d87ad6eec1a1a9af347ae6a1f76938')
37
38
source_x86_64=("$url/releases/download/v$pkgver/c0wrk-desktop-linux-amd64-cuda13.tar.gz")
39
sha256sums_x86_64=('f3e013800a421b44e0ab0d2adb7dcda19d4d6a52ac9d49f626d0bbe663283c40')
40
41
package() {
42
cd "$srcdir"
43
44
# /opt/c0wrk application tree (binary + GPU ONNX Runtime + CUDA/shared
45
# provider libraries + embedding model, all resolved by the app relative to
46
# the real executable path). The internal .onnxruntime(-gpu)-version stamp
47
# files are NOT packaged — they only matter for the Makefile stamp policy
48
# during a source build.
49
install -Dm755 c0wrk-desktop "$pkgdir/opt/c0wrk/c0wrk-desktop"
50
install -Dm755 libonnxruntime.so "$pkgdir/opt/c0wrk/libonnxruntime.so"
51
install -Dm755 libonnxruntime_providers_cuda.so "$pkgdir/opt/c0wrk/libonnxruntime_providers_cuda.so"
52
install -Dm755 libonnxruntime_providers_shared.so "$pkgdir/opt/c0wrk/libonnxruntime_providers_shared.so"
53
install -Dm644 models/jina-v2-small.onnx "$pkgdir/opt/c0wrk/models/jina-v2-small.onnx"
54
install -Dm644 models/jina-v2-small-tokenizer.json "$pkgdir/opt/c0wrk/models/jina-v2-small-tokenizer.json"
55
56
# Absolute symlink: os.Executable() dereferences it to /opt/c0wrk, so the
57
# app still finds libonnxruntime.so and models/ next to the real binary.
58
install -d "$pkgdir/usr/bin"
59
ln -s /opt/c0wrk/c0wrk-desktop "$pkgdir/usr/bin/c0wrk-desktop"
60
61
# Desktop entry, icon and license.
62
install -Dm644 c0wrk.desktop "$pkgdir/usr/share/applications/c0wrk.desktop"
63
install -Dm644 c0wrk.png "$pkgdir/usr/share/icons/hicolor/512x512/apps/c0wrk.png"
64
install -Dm644 LICENSE "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
65
}
66
Scan history
| Scanned at (UTC) | Severity | Rules |
|---|---|---|
| 2026-09-17 15:25:49 | Low | 1 |