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
3pkgname="$_pkgname-community-git"
4pkgver=2026.5.22.r0.g1b21a9b
5pkgrel=1
6pkgdesc="Use your tablet as graphic tablet/touch screen on your computer."
7arch=("x86_64")
8url="https://github.com/electronstudio/WeylusCommunityEdition"
9license=("AGPL-3.0-or-later")
10conflicts=("$_pkgname" "$_pkgname-bin" "$_pkgname-git")
11provides=("$_pkgname=${pkgver/\.r*/}")
12options=(!debug !lto) # Disabled for rust build
13makedepends=(rust pnpm libx11 pkg-config git cmake nasm)
14depends=(cairo dbus gst-plugins-base-libs libdrm libva libxcomposite libxcursor libxinerama libxkbcommon libxrandr libxtst pango ffmpeg)
15optdepends=("gst-plugin-pipewire: Wayland and or pipewire support")
16source=("$_pkgname::git+$url.git" "community.patch")
17sha256sums=("SKIP" "48a038ee689b4cf3dc7e342bcde0a1e697d2e674120db20c89e6b3190aa753c7")
18
19prepare() {
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
30pkgver() {
31 cd "$_pkgname" || return
32 git describe --long --tags --abbrev=7 | sed 's/^v//;s/\([^-]*-g\)/r\1/;s/-/./g'
33}
34
35build() {
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
45package() {
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)SeverityRules
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

Report a package

Reports go to the AURWatch maintainer (one person) and are read by hand. No login required.

0 / 4000
Your suggestion