weylus-community-git
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
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)
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# Maintainer: CsiPA0723 <csizipeti0723 at gmail dot com>
_pkgname=weylus
pkgname="$_pkgname-community-git"
pkgver=2026.5.22.r0.g1b21a9b
pkgrel=1
pkgdesc="Use your tablet as graphic tablet/touch screen on your computer."
arch=("x86_64")
url="https://github.com/electronstudio/WeylusCommunityEdition"
license=("AGPL-3.0-or-later")
conflicts=("$_pkgname" "$_pkgname-bin" "$_pkgname-git")
provides=("$_pkgname=${pkgver/\.r*/}")
options=(!debug !lto) # Disabled for rust build
makedepends=(rust pnpm libx11 pkg-config git cmake nasm)
depends=(cairo dbus gst-plugins-base-libs libdrm libva libxcomposite libxcursor libxinerama libxkbcommon libxrandr libxtst pango ffmpeg)
optdepends=("gst-plugin-pipewire: Wayland and or pipewire support")
source=("$_pkgname::git+$url.git" "community.patch")
sha256sums=("SKIP" "48a038ee689b4cf3dc7e342bcde0a1e697d2e674120db20c89e6b3190aa753c7")
prepare() {
export CARGO_HOME=$SRCDEST/.cargo
export RUSTUP_TOOLCHAIN=stable
cd "$_pkgname" || return
patch -Np1 -i ../community.patch
# BUG: Arch typescript package is 6.0
# FIX: Use locally installed tsc instead
pnpm install typescript@5.5.4
cargo fetch --locked --target "$(rustc -vV | sed -n 's/host: //p')"
}
pkgver() {
cd "$_pkgname" || return
git describe --long --tags --abbrev=7 | sed 's/^v//;s/\([^-]*-g\)/r\1/;s/-/./g'
}
build() {
export CARGO_HOME=$SRCDEST/.cargo
export RUSTUP_TOOLCHAIN=stable
export CARGO_TARGET_DIR=target
export CFLAGS="$CFLAGS -fno-lto"
export CXXFLAGS="$CXXFLAGS -fno-lto"
cd "$_pkgname" || return
cargo build --frozen --release --features="ffmpeg-system"
}
package() {
cd "$_pkgname" || return
install -Dm0755 -t "$pkgdir/usr/bin/" "target/release/$_pkgname"
install -Dm0755 -t "$pkgdir/usr/share/applications/" "weylus.desktop"
install -Dm644 -t "$pkgdir/usr/share/licenses/$pkgname" "LICENSE"
install -Dm644 -t "$pkgdir/usr/share/icons/" "io.github.electronstudio.WeylusCommunityEdition.png"
}
Scan history
| Scanned at (UTC) | Severity | Rules |
|---|---|---|
| 2026-11-01 00:21:48 | Low | 2 |
| 2026-10-31 00:07:41 | Low | 2 |
| 2026-10-30 00:29:30 | Low | 2 |
| 2026-10-29 00:13:55 | Low | 2 |
| 2026-10-28 00:06:54 | Low | 2 |
| 2026-10-27 00:23:28 | Low | 2 |
| 2026-10-26 00:12:40 | Low | 2 |
| 2026-10-25 00:20:48 | Low | 2 |
| 2026-10-24 00:14:55 | Low | 2 |
| 2026-10-23 00:02:19 | Low | 2 |
| 2026-10-22 00:13:10 | Low | 2 |
| 2026-10-21 00:12:50 | Low | 2 |
| 2026-10-20 00:10:31 | Low | 2 |
| 2026-10-19 00:03:55 | Low | 2 |
| 2026-10-18 00:06:55 | Low | 2 |
| 2026-10-17 00:21:55 | Low | 2 |
| 2026-10-16 00:12:47 | Low | 2 |
| 2026-10-15 00:28:05 | Low | 2 |
| 2026-10-14 00:06:47 | Low | 2 |
| 2026-10-13 00:23:45 | Low | 2 |