codenomad-bin
MEDIUM
maintainer ismet
3 votes
scanned 2026-11-01 16:01:05.312492
Why flagged
This package was orphaned and re-adopted within the last 30 days — a window where ownership transfers can introduce malicious changes.
Triggered rules
Medium
Recently orphaned & re-adopted
orphaned_readopted
This package was orphaned and re-adopted within the last 30 days — a window where ownership transfers can introduce malicious changes.
PKGBUILD
1
# Maintainer: robertfoster
2
pkgname=codenomad-bin
3
_pkgname=CodeNomad
4
_binname='@neuralnomadscodenomad-electron-app'
5
pkgver=0.15.0 # renovate: datasource=github-releases depName=NeuralNomadsAI/CodeNomad
6
pkgrel=1
7
pkgdesc="A fast, multi-instance workspace for running OpenCode sessions"
8
arch=('x86_64' 'aarch64')
9
url="https://github.com/NeuralNomadsAI/CodeNomad"
10
license=('LicenseRef-unknown')
11
depends=(
12
'alsa-lib'
13
'at-spi2-core'
14
'cairo'
15
'dbus'
16
'expat'
17
'gcc-libs'
18
'gdk-pixbuf2'
19
'glib2'
20
'glibc'
21
'gtk3'
22
'hicolor-icon-theme'
23
'libcups'
24
'libdrm'
25
'libx11'
26
'libxcb'
27
'libxcomposite'
28
'libxdamage'
29
'libxext'
30
'libxfixes'
31
'libxkbcommon'
32
'libxrandr'
33
'mesa'
34
'nspr'
35
'nss'
36
'pango'
37
)
38
optdepends=('opencode: OpenCode CLI for AI coding sessions')
39
provides=('codenomad')
40
conflicts=('codenomad' 'codenomad-git')
41
options=('!strip' '!debug')
42
43
package() {
44
install -dm755 "${pkgdir}/opt/${pkgname}"
45
46
# Copy all files (zip extracts flat, not into a subdirectory)
47
cp -r "${srcdir}"/* "${pkgdir}/opt/${pkgname}/"
48
rm "${pkgdir}/opt/${pkgname}/codenomad.desktop"
49
50
# Set permissions
51
chmod 755 "${pkgdir}/opt/${pkgname}/${_binname}"
52
chmod 4755 "${pkgdir}/opt/${pkgname}/chrome-sandbox"
53
54
# Create wrapper script
55
install -dm755 "${pkgdir}/usr/bin"
56
cat > "${pkgdir}/usr/bin/codenomad" << EOF
57
#!/bin/bash
58
exec /opt/${pkgname}/${_binname} "\$@"
59
EOF
60
chmod 755 "${pkgdir}/usr/bin/codenomad"
61
62
# Desktop entry
63
install -Dm644 "${srcdir}/codenomad.desktop" \
64
"${pkgdir}/usr/share/applications/codenomad.desktop"
65
66
# Icon from resources
67
if [[ -f "${pkgdir}/opt/${pkgname}/resources/icon.png" ]]; then
68
install -Dm644 "${pkgdir}/opt/${pkgname}/resources/icon.png" \
69
"${pkgdir}/usr/share/pixmaps/codenomad.png"
70
fi
71
}
72
73
source=("codenomad.desktop")
74
source_x86_64=("${pkgname}-${pkgver}.zip::https://github.com/NeuralNomadsAI/CodeNomad/releases/download/v${pkgver}/${_pkgname}-${pkgver}-linux-x64.zip")
75
source_aarch64=("${pkgname}-${pkgver}.zip::https://github.com/NeuralNomadsAI/CodeNomad/releases/download/v${pkgver}/${_pkgname}-${pkgver}-linux-arm64.zip")
76
sha256sums=('099ff5f301ceebffbf8d386820bc8f4a9ab678d0f518fe5ef40aba32bf1f459f')
77
sha256sums_x86_64=('395a354b0d49c7780b9816f7e8b6085f494e812a0595c45de576503fce3b3674')
78
sha256sums_aarch64=('395a354b0d49c7780b9816f7e8b6085f494e812a0595c45de576503fce3b3674')
79
Scan history
| Scanned at (UTC) | Severity | Rules |
|---|---|---|
| 2026-11-01 16:01:05 | Medium | 1 |
| 2026-06-18 16:11:54 | Clean | 0 |