weylus-community-git
maintainer CsiPA0723
· 2 votes
· scanned 2026-08-03 00:08:14.047287
LOW
View on AUR ↗
Why flagged
The pnpm install fetches a specific version of TypeScript (5.5.4) to work around a known compatibility issue, which is a build requirement for the project and not an undeclared external dependency that introduces supply-chain risk; the source is the upstream repository, and the package is built from source with locked dependencies.
Triggered rules
LOW
AI review downgraded a static finding
llm_review
The static rules flagged this MEDIUM, but an AI model (qwen/qwen3-235b-a22b-07-25) reviewed the full PKGBUILD and judged it LOW (confidence 95%): The pnpm install fetches a specific version of TypeScript (5.5.4) to work around a known compatibility issue, which is a build requirement for the project and not an undeclared external dependency that introduces supply-chain risk; the source is the upstream repository, and the package is built from source with locked dependencies.
1 higher static finding superseded - not the current verdict (shown for transparency)
MEDIUM
npm/yarn/pnpm install of an undeclared external package
npm_install_external
Runs `npm/yarn/pnpm install <package>` for a package not in source=(), pulling unpinned, unreviewed code at build time. Severity downgraded: the package declares/looks like a Node.js consumer, where build-time installs are expected.
-
PKGBUILD:26
pnpm install typescript@5.5.4
PKGBUILD
1 offending line(s) highlighted
1
# Maintainer: CsiPA0723 <csizipeti0723 at gmail dot com>
2
_pkgname=weylus
3
pkgname="$_pkgname-community-git"
4
pkgver=2026.5.22.r0.g1b21a9b
5
pkgrel=1
6
pkgdesc="Use your tablet as graphic tablet/touch screen on your computer."
7
arch=("x86_64")
8
url="https://github.com/electronstudio/WeylusCommunityEdition"
9
license=("AGPL-3.0-or-later")
10
conflicts=("$_pkgname" "$_pkgname-bin" "$_pkgname-git")
11
provides=("$_pkgname=${pkgver/\.r*/}")
12
options=(!debug !lto) # Disabled for rust build
13
makedepends=(rust pnpm libx11 pkg-config git cmake nasm)
14
depends=(cairo dbus gst-plugins-base-libs libdrm libva libxcomposite libxcursor libxinerama libxkbcommon libxrandr libxtst pango ffmpeg)
15
optdepends=("gst-plugin-pipewire: Wayland and or pipewire support")
16
source=("$_pkgname::git+$url.git" "community.patch")
17
sha256sums=("SKIP" "48a038ee689b4cf3dc7e342bcde0a1e697d2e674120db20c89e6b3190aa753c7")
18
19
prepare() {
20
export CARGO_HOME=$SRCDEST/.cargo
21
export RUSTUP_TOOLCHAIN=stable
22
cd "$_pkgname" || return
23
patch -Np1 -i ../community.patch
24
# BUG: Arch typescript package is 6.0
25
# FIX: Use locally installed tsc instead
26
pnpm install typescript@5.5.4
27
cargo fetch --locked --target "$(rustc -vV | sed -n 's/host: //p')"
28
}
29
30
pkgver() {
31
cd "$_pkgname" || return
32
git describe --long --tags --abbrev=7 | sed 's/^v//;s/\([^-]*-g\)/r\1/;s/-/./g'
33
}
34
35
build() {
36
export CARGO_HOME=$SRCDEST/.cargo
37
export RUSTUP_TOOLCHAIN=stable
38
export CARGO_TARGET_DIR=target
39
export CFLAGS="$CFLAGS -fno-lto"
40
export CXXFLAGS="$CXXFLAGS -fno-lto"
41
cd "$_pkgname" || return
42
cargo build --frozen --release --features="ffmpeg-system"
43
}
44
45
package() {
46
cd "$_pkgname" || return
47
install -Dm0755 -t "$pkgdir/usr/bin/" "target/release/$_pkgname"
48
install -Dm0755 -t "$pkgdir/usr/share/applications/" "weylus.desktop"
49
install -Dm644 -t "$pkgdir/usr/share/licenses/$pkgname" "LICENSE"
50
install -Dm644 -t "$pkgdir/usr/share/icons/" "io.github.electronstudio.WeylusCommunityEdition.png"
51
}
52
Scan history
| Scanned at (UTC) | Severity | Rules |
|---|---|---|
| 2026-08-03 00:08:14 | LOW | 2 |
| 2026-08-02 00:16:08 | LOW | 2 |
| 2026-08-01 00:11:18 | LOW | 2 |
| 2026-07-31 00:14:10 | LOW | 2 |
| 2026-07-30 00:17:23 | LOW | 2 |
| 2026-07-29 00:25:53 | LOW | 2 |
| 2026-07-28 00:07:28 | LOW | 2 |
| 2026-07-27 00:24:32 | LOW | 2 |
| 2026-07-26 00:07:32 | LOW | 2 |
| 2026-07-25 00:13:44 | LOW | 2 |
| 2026-07-24 00:02:28 | LOW | 2 |
| 2026-07-23 00:14:47 | LOW | 2 |
| 2026-07-22 00:29:32 | LOW | 2 |
| 2026-07-21 00:24:15 | LOW | 2 |
| 2026-07-20 00:19:49 | LOW | 2 |
| 2026-07-19 00:17:08 | LOW | 2 |
| 2026-07-18 00:14:48 | LOW | 2 |
| 2026-07-17 00:06:16 | LOW | 2 |
| 2026-07-16 00:05:41 | LOW | 2 |
| 2026-07-15 00:09:25 | LOW | 2 |