openclaw-desktop
LOW
maintainer 5p00ky
0 votes
scanned 2026-09-05 01:59:11.792876
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: 5p00kyy <admin@5p00ky.dev>
2
3
pkgname=openclaw-desktop
4
pkgver=2026.9.1
5
pkgrel=1
6
pkgdesc='OpenClaw Linux desktop companion'
7
arch=('x86_64')
8
url='https://github.com/openclaw/openclaw'
9
license=('MIT')
10
depends=(
11
'bash'
12
'cairo'
13
'dbus'
14
'gdk-pixbuf2'
15
'glib2'
16
'glibc'
17
'gst-libav'
18
'gst-plugins-bad'
19
'gst-plugins-good'
20
'gtk3'
21
'hicolor-icon-theme'
22
'libayatana-appindicator'
23
'libgcc'
24
'libsoup3'
25
'webkit2gtk-4.1'
26
)
27
makedepends=(
28
'git'
29
'pkgconf'
30
'rust'
31
)
32
checkdepends=(
33
'at-spi2-core'
34
'nodejs'
35
'python-gobject'
36
'xorg-server-xvfb'
37
'xorg-xauth'
38
)
39
optdepends=(
40
'openclaw: use a system CLI instead of the companion-managed CLI for local Gateway setup'
41
'openssh: connect to a remote Gateway through an SSH tunnel'
42
)
43
conflicts=('openclaw-desktop-bin')
44
replaces=('openclaw-desktop-bin')
45
options=('!lto')
46
source=(
47
"${pkgname}-${pkgver}.tar.gz::${url}/archive/refs/tags/v${pkgver}.tar.gz"
48
'OpenClaw.desktop'
49
'tests-first-run-remote.py'
50
)
51
sha256sums=(
52
'b8d9f64b5a8d7a36342bd3470ac9d7bba01a072f22916bfc12aeda677b850832'
53
'489f3cfab1d78498feba72e1ebaec6accc17ff9ba0591cde488df24ae5657473'
54
'56218d9707d602f56e0d995722d52b154b61ac149cf11e49f287b63776c130c2'
55
)
56
57
prepare() {
58
cd "openclaw-${pkgver}"
59
60
# Upstream keeps 0.1.0 as a development placeholder and stamps release
61
# bundles in CI. Require that exact input before applying the tagged version.
62
grep -qx 'version = "0.1.0"' apps/linux/src-tauri/Cargo.toml
63
grep -A1 -x 'name = "openclaw-desktop-linux"' apps/linux/src-tauri/Cargo.lock \
64
| grep -qx 'version = "0.1.0"'
65
grep -qx ' "version": "0.1.0",' apps/linux/src-tauri/tauri.conf.json
66
67
sed -i "0,/^version = \"0.1.0\"$/s//version = \"${pkgver}\"/" \
68
apps/linux/src-tauri/Cargo.toml
69
sed -i "/^name = \"openclaw-desktop-linux\"$/{n;s/^version = \"0.1.0\"$/version = \"${pkgver}\"/;}" \
70
apps/linux/src-tauri/Cargo.lock
71
sed -i "0,/^ \"version\": \"0.1.0\",$/s// \"version\": \"${pkgver}\",/" \
72
apps/linux/src-tauri/tauri.conf.json
73
74
grep -qx "version = \"${pkgver}\"" apps/linux/src-tauri/Cargo.toml
75
grep -A1 -x 'name = "openclaw-desktop-linux"' apps/linux/src-tauri/Cargo.lock \
76
| grep -qx "version = \"${pkgver}\""
77
grep -qx " \"version\": \"${pkgver}\"," apps/linux/src-tauri/tauri.conf.json
78
79
export CARGO_HOME="${srcdir}/cargo-home"
80
cargo fetch --locked --manifest-path apps/linux/src-tauri/Cargo.toml
81
}
82
83
build() {
84
cd "openclaw-${pkgver}"
85
export CARGO_HOME="${srcdir}/cargo-home"
86
export CARGO_TARGET_DIR="${srcdir}/target"
87
export CARGO_NET_OFFLINE=true
88
cargo build --frozen --release --manifest-path apps/linux/src-tauri/Cargo.toml
89
}
90
91
check() {
92
cd "openclaw-${pkgver}"
93
export CARGO_HOME="${srcdir}/cargo-home"
94
export CARGO_TARGET_DIR="${srcdir}/target"
95
export CARGO_NET_OFFLINE=true
96
97
cargo test --frozen --release --all-targets \
98
--manifest-path apps/linux/src-tauri/Cargo.toml
99
xvfb-run -a -s '-screen 0 1280x1024x24' dbus-run-session -- \
100
/usr/bin/python "${srcdir}/tests-first-run-remote.py" \
101
"${srcdir}/target/release/openclaw-desktop"
102
}
103
104
package() {
105
cd "openclaw-${pkgver}"
106
107
install -Dm755 "${srcdir}/target/release/openclaw-desktop" \
108
"${pkgdir}/usr/bin/openclaw-desktop"
109
install -Dm755 scripts/install-cli.sh \
110
"${pkgdir}/usr/lib/OpenClaw/install-cli.sh"
111
install -Dm644 "${srcdir}/OpenClaw.desktop" \
112
"${pkgdir}/usr/share/applications/OpenClaw.desktop"
113
114
install -Dm644 apps/linux/src-tauri/icons/32x32.png \
115
"${pkgdir}/usr/share/icons/hicolor/32x32/apps/openclaw-desktop.png"
116
install -Dm644 apps/linux/src-tauri/icons/128x128.png \
117
"${pkgdir}/usr/share/icons/hicolor/128x128/apps/openclaw-desktop.png"
118
install -Dm644 apps/linux/src-tauri/icons/128x128@2x.png \
119
"${pkgdir}/usr/share/icons/hicolor/256x256@2/apps/openclaw-desktop.png"
120
install -Dm644 apps/linux/src-tauri/icons/icon.png \
121
"${pkgdir}/usr/share/icons/hicolor/512x512/apps/openclaw-desktop.png"
122
123
install -Dm644 LICENSE "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
124
}
125
Scan history
| Scanned at (UTC) | Severity | Rules |
|---|---|---|
| 2026-09-05 01:59:11 | Low | 1 |