plezy-git
The non-standard host (storage.googleapis.com) hosts the official Flutter SDK, a legitimate build dependency; downloading a vendor-provided SDK from Google's infrastructure is normal and low-risk for Flutter applications.
Triggered rules
llm_review
The static rules flagged this MEDIUM, but an AI model (qwen/qwen3-235b-a22b-2507) reviewed the full PKGBUILD and judged it LOW (confidence 95%): The non-standard host (storage.googleapis.com) hosts the official Flutter SDK, a legitimate build dependency; downloading a vendor-provided SDK from Google's infrastructure is normal and low-risk for Flutter applications.
1 higher static finding superseded - not the current verdict (shown for transparency)
source_untrusted_domain
One or more source=() URLs point to a host outside the trusted allowlist (github.com, gitlab.com, codeberg.org, pypi.org, …).
-
PKGBUILD:38
"https://storage.googleapis.com/flutter_infra_release/releases/stable/linux/flutter_linux_${_flutter_ver}-stable.tar.xz"
PKGBUILD
1 offending line(s) highlighted# Maintainer: Latte macchiato <contact@lattemacchiato.dev>
pkgname=plezy-git
_pkgname=plezy
pkgver=2.23.0.r68.g002df7b
pkgrel=1
pkgdesc='A modern Plex client for desktop and mobile'
arch=('x86_64')
url='https://github.com/edde746/plezy'
license=('GPL-3.0-or-later')
depends=(
'gtk3'
'mpv'
'libepoxy'
'libevdev'
'libkeybinder3'
'alsa-lib'
'glib2'
'xdg-user-dirs'
'curl'
'hicolor-icon-theme'
)
makedepends=(
'clang'
'cmake'
'jdk21-openjdk'
'ninja'
'pkgconf'
'git'
'patchelf'
'unzip'
)
provides=("$_pkgname")
conflicts=("$_pkgname")
options=('!debug')
_flutter_ver=3.47.1
source=(
"$_pkgname::git+$url.git"
"https://storage.googleapis.com/flutter_infra_release/releases/stable/linux/flutter_linux_${_flutter_ver}-stable.tar.xz"
)
sha256sums=('SKIP'
'a1d8166c0309267cb7dc99f1424eecf08b86946ad3b50723c6f59945964aea45')
pkgver() {
cd "$_pkgname"
git describe --long --tags --abbrev=7 2>/dev/null | sed 's/^v//;s/-/.r/;s/-/./' \
|| printf "r%s.%s" "$(git rev-list --count HEAD)" "$(git rev-parse --short HEAD)"
}
build() {
# Match the packaged JNI runtime and avoid discovery through a JRE-only default.
export JAVA_HOME=/usr/lib/jvm/java-21-openjdk
export PATH="$srcdir/flutter/bin:$PATH"
export PUB_CACHE="$srcdir/.pub-cache"
flutter config --no-analytics
flutter precache --linux
cd "$_pkgname"
flutter pub get
# Remove -Werror from all CMakeLists.txt (fixes strict clang warnings in plugins)
find . -name 'CMakeLists.txt' -exec sed -i 's/-Werror//g' {} +
flutter build linux --release
}
package() {
# The build JDK conflicts with Arch's separate headless JRE package.
# Require the smaller JRE in the artifact, not during dependency installation.
depends+=('jre21-openjdk-headless')
cd "$_pkgname"
# Install the application bundle
install -dm755 "$pkgdir/opt/$_pkgname"
cp -r build/linux/x64/release/bundle/* "$pkgdir/opt/$_pkgname/"
# Replace Flutter build-time RUNPATHs with relocatable bundle-local paths.
find "$pkgdir/opt/$_pkgname/lib" -type f -name '*.so' \
-exec patchelf --set-rpath '$ORIGIN' {} +
# Dart JNI links libjvm directly. Use the matching declared Java runtime,
# not the build JDK or the user's changeable default Java symlink.
if [[ -f "$pkgdir/opt/$_pkgname/lib/libdartjni.so" ]]; then
patchelf --set-rpath '$ORIGIN:/usr/lib/jvm/java-21-openjdk/lib/server' \
"$pkgdir/opt/$_pkgname/lib/libdartjni.so"
fi
if [[ -f "$pkgdir/opt/$_pkgname/lib/crashpad_handler" ]]; then
patchelf --set-rpath '$ORIGIN' "$pkgdir/opt/$_pkgname/lib/crashpad_handler"
fi
# Create wrapper script
install -Dm755 /dev/stdin "$pkgdir/usr/bin/$_pkgname" <<EOF
#!/bin/bash
cd /opt/$_pkgname
exec ./$_pkgname "\$@"
EOF
# Install desktop file
install -Dm644 linux/packaging/com.edde746.plezy.desktop \
"$pkgdir/usr/share/applications/com.edde746.plezy.desktop"
# Install icon
install -Dm644 assets/plezy.png \
"$pkgdir/usr/share/icons/hicolor/512x512/apps/$_pkgname.png"
# Install license
install -Dm644 LICENSE "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
}
Changes since previous scan
--- PKGBUILD @ 2026-10-20 00:10+++ PKGBUILD @ 2026-11-01 00:21@@ -1,7 +1,7 @@ # Maintainer: Latte macchiato <contact@lattemacchiato.dev> pkgname=plezy-git _pkgname=plezy-pkgver=2.23.0.r53.g827f8ae+pkgver=2.23.0.r68.g002df7b pkgrel=1 pkgdesc='A modern Plex client for desktop and mobile' arch=('x86_64')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 05:27:35 | Medium | 1 |
| 2026-10-20 00:10:31 | Low | 2 |
| 2026-10-19 00:03:55 | Low | 2 |
| 2026-10-18 05:21:06 | Medium | 1 |
| 2026-10-18 00:06:55 | Low | 2 |
| 2026-10-17 05:17:05 | Medium | 1 |
| 2026-10-17 00:21:55 | Low | 2 |
| 2026-10-16 05:14:45 | Medium | 1 |