webots-git

LOW
maintainer Vial 0 votes scanned 2026-09-27 00:07:07.510666
View on AUR
Why flagged

The package builds from the official GitHub repository with a SKIP'd checksum, which is expected for git sources, and includes no remote code execution or malicious patterns; the low severity is due to the recent upload and few votes, not the package content.

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 builds from the official GitHub repository with a SKIP'd checksum, which is expected for git sources, and includes no remote code execution or malicious patterns; the low severity is due to the recent upload and few votes, not the package content.

PKGBUILD

1# Maintainer: Robin Trioux <robin@trioux.eu>
2
3# Maintainer: Robin
4
5pkgname=webots-git
6pkgver=nightly.24.9.2026.r15777.g87fcc4222a
7pkgrel=1
8pkgdesc="Open-source robot simulator (development version)"
9arch=('x86_64')
10url="https://cyberbotics.com/"
11license=('Apache-2.0')
12
13depends=(
14 'glibc'
15 'gcc-libs'
16 'libx11'
17 'libxext'
18 'libxi'
19 'libxcb'
20 'libxrandr'
21 'libxrender'
22 'libgl'
23 'glu'
24 'openal'
25 'libjpeg-turbo'
26 'libpng'
27 'zlib'
28 'freetype2'
29 'fontconfig'
30 'xcb-util'
31 'xcb-util-cursor'
32 'xcb-util-keysyms'
33 'xcb-util-image'
34 'xcb-util-renderutil'
35 'xcb-util-wm'
36 'libxkbcommon'
37 'libxkbcommon-x11'
38 'qt6-base'
39 'qt6-declarative'
40 'qt6-svg'
41)
42
43makedepends=(
44 'git'
45 'make'
46 'gcc'
47 'jdk17-openjdk'
48 'python'
49 'swig'
50 'wget'
51 'patchelf'
52)
53
54optdepends=(
55 'matlab: MATLAB controller support'
56 'espeak: Text-to-speech for some robots'
57 'ffmpeg: Video recording'
58)
59
60provides=('webots')
61conflicts=('webots' 'webots-bin')
62
63source=(
64 'git+https://github.com/cyberbotics/webots.git'
65)
66
67sha256sums=('SKIP')
68
69options=('!strip')
70
71pkgver() {
72 cd "$srcdir/webots"
73
74 local tag
75 tag=$(git describe --tags --abbrev=0 2>/dev/null || echo unknown)
76 tag="${tag#v}"
77 tag=$(printf '%s' "$tag" | sed 's/[_-]/./g; s/[^[:alnum:].]//g')
78
79 printf '%s.r%s.g%s\n' \
80 "$tag" \
81 "$(git rev-list --count HEAD)" \
82 "$(git rev-parse --short HEAD)"
83}
84
85prepare() {
86 cd "$srcdir/webots"
87
88 git submodule update --init --recursive
89}
90
91build() {
92 cd "$srcdir/webots"
93
94 export JAVA_HOME=/usr/lib/jvm/java-17-openjdk
95 export PATH="$JAVA_HOME/bin:$PATH"
96 export WEBOTS_HOME="$PWD"
97
98 make -j"$(nproc)"
99}
100
101package() {
102 cd "$srcdir/webots"
103
104 #
105 # Directory structure
106 #
107 # /usr/share/webots/
108 # ├── webots <- upstream launcher
109 # ├── bin/webots-bin <- actual executable
110 # ├── lib/webots/ <- private libraries
111 # ├── resources/
112 # ├── projects/
113 # ├── include/
114 # └── scripts/
115 #
116 # /usr/bin/webots <- symlink to upstream launcher
117 #
118
119 install -d "$pkgdir/usr/share/webots"
120 install -d "$pkgdir/usr/bin"
121
122 #
123 # Webots data
124 #
125 cp -a lib "$pkgdir/usr/share/webots/"
126 cp -a resources "$pkgdir/usr/share/webots/"
127 cp -a projects "$pkgdir/usr/share/webots/"
128 cp -a include "$pkgdir/usr/share/webots/"
129 cp -a scripts "$pkgdir/usr/share/webots/"
130
131 #
132 # Actual Webots executable
133 #
134 install -Dm755 bin/webots-bin "$pkgdir/usr/share/webots/bin/webots-bin"
135
136 #
137 # Fix the build-tree RUNPATH embedded by Webots.
138 #
139 # From:
140 # /home/robin/AUR/webots-git/src/webots/lib/webots
141 #
142 # To:
143 # $ORIGIN/../lib/webots
144 #
145 patchelf \
146 --set-rpath '$ORIGIN/../lib/webots' \
147 "$pkgdir/usr/share/webots/bin/webots-bin"
148
149 #
150 # IMPORTANT:
151 # Install the upstream launcher itself.
152 #
153 # It calculates:
154 #
155 # webots_home="$(dirname "$(readlink -f "$0")")"
156 #
157 # Therefore it must live inside /usr/share/webots.
158 #
159 install -Dm755 \
160 webots \
161 "$pkgdir/usr/share/webots/webots"
162
163 #
164 # Public command.
165 #
166 ln -s \
167 /usr/share/webots/webots \
168 "$pkgdir/usr/bin/webots"
169
170 #
171 # Desktop entry
172 #
173 install -Dm644 \
174 scripts/packaging/webots.desktop \
175 "$pkgdir/usr/share/applications/webots.desktop"
176
177 sed -i \
178 -e 's|^Exec=.*|Exec=webots|' \
179 -e 's|^Icon=.*|Icon=webots|' \
180 "$pkgdir/usr/share/applications/webots.desktop"
181
182 #
183 # Icons
184 #
185 install -Dm644 \
186 resources/icons/core/webots.png \
187 "$pkgdir/usr/share/icons/hicolor/256x256/apps/webots.png"
188
189 install -Dm644 \
190 resources/images/webots.png \
191 "$pkgdir/usr/share/icons/hicolor/128x128/apps/webots.png"
192
193 #
194 # Qt configuration
195 #
196 if [[ -f bin/qt.conf ]]; then
197 install -Dm644 \
198 bin/qt.conf \
199 "$pkgdir/usr/share/webots/bin/qt.conf"
200 fi
201}
202

Scan history

Scanned at (UTC)SeverityRules
2026-09-27 00:07:07 Low 2
2026-09-26 11:15:02 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