plezy-git

LOW
maintainer latte_macchiato 2 votes scanned 2026-11-01 00:21:48.120785
View on AUR
Why flagged

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

Low AI review downgraded a static finding 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)
Medium source=() URL on a non-standard host 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
1# Maintainer: Latte macchiato <contact@lattemacchiato.dev>
2pkgname=plezy-git
3_pkgname=plezy
4pkgver=2.23.0.r68.g002df7b
5pkgrel=1
6pkgdesc='A modern Plex client for desktop and mobile'
7arch=('x86_64')
8url='https://github.com/edde746/plezy'
9license=('GPL-3.0-or-later')
10depends=(
11 'gtk3'
12 'mpv'
13 'libepoxy'
14 'libevdev'
15 'libkeybinder3'
16 'alsa-lib'
17 'glib2'
18 'xdg-user-dirs'
19 'curl'
20 'hicolor-icon-theme'
21)
22makedepends=(
23 'clang'
24 'cmake'
25 'jdk21-openjdk'
26 'ninja'
27 'pkgconf'
28 'git'
29 'patchelf'
30 'unzip'
31)
32provides=("$_pkgname")
33conflicts=("$_pkgname")
34options=('!debug')
35_flutter_ver=3.47.1
36source=(
37 "$_pkgname::git+$url.git"
38 "https://storage.googleapis.com/flutter_infra_release/releases/stable/linux/flutter_linux_${_flutter_ver}-stable.tar.xz"
39)
40sha256sums=('SKIP'
41 'a1d8166c0309267cb7dc99f1424eecf08b86946ad3b50723c6f59945964aea45')
42
43pkgver() {
44 cd "$_pkgname"
45 git describe --long --tags --abbrev=7 2>/dev/null | sed 's/^v//;s/-/.r/;s/-/./' \
46 || printf "r%s.%s" "$(git rev-list --count HEAD)" "$(git rev-parse --short HEAD)"
47}
48
49build() {
50 # Match the packaged JNI runtime and avoid discovery through a JRE-only default.
51 export JAVA_HOME=/usr/lib/jvm/java-21-openjdk
52 export PATH="$srcdir/flutter/bin:$PATH"
53 export PUB_CACHE="$srcdir/.pub-cache"
54
55 flutter config --no-analytics
56 flutter precache --linux
57
58 cd "$_pkgname"
59 flutter pub get
60
61 # Remove -Werror from all CMakeLists.txt (fixes strict clang warnings in plugins)
62 find . -name 'CMakeLists.txt' -exec sed -i 's/-Werror//g' {} +
63
64 flutter build linux --release
65}
66
67package() {
68 # The build JDK conflicts with Arch's separate headless JRE package.
69 # Require the smaller JRE in the artifact, not during dependency installation.
70 depends+=('jre21-openjdk-headless')
71 cd "$_pkgname"
72
73 # Install the application bundle
74 install -dm755 "$pkgdir/opt/$_pkgname"
75 cp -r build/linux/x64/release/bundle/* "$pkgdir/opt/$_pkgname/"
76
77 # Replace Flutter build-time RUNPATHs with relocatable bundle-local paths.
78 find "$pkgdir/opt/$_pkgname/lib" -type f -name '*.so' \
79 -exec patchelf --set-rpath '$ORIGIN' {} +
80 # Dart JNI links libjvm directly. Use the matching declared Java runtime,
81 # not the build JDK or the user's changeable default Java symlink.
82 if [[ -f "$pkgdir/opt/$_pkgname/lib/libdartjni.so" ]]; then
83 patchelf --set-rpath '$ORIGIN:/usr/lib/jvm/java-21-openjdk/lib/server' \
84 "$pkgdir/opt/$_pkgname/lib/libdartjni.so"
85 fi
86 if [[ -f "$pkgdir/opt/$_pkgname/lib/crashpad_handler" ]]; then
87 patchelf --set-rpath '$ORIGIN' "$pkgdir/opt/$_pkgname/lib/crashpad_handler"
88 fi
89
90 # Create wrapper script
91 install -Dm755 /dev/stdin "$pkgdir/usr/bin/$_pkgname" <<EOF
92#!/bin/bash
93cd /opt/$_pkgname
94exec ./$_pkgname "\$@"
95EOF
96
97 # Install desktop file
98 install -Dm644 linux/packaging/com.edde746.plezy.desktop \
99 "$pkgdir/usr/share/applications/com.edde746.plezy.desktop"
100
101 # Install icon
102 install -Dm644 assets/plezy.png \
103 "$pkgdir/usr/share/icons/hicolor/512x512/apps/$_pkgname.png"
104
105 # Install license
106 install -Dm644 LICENSE "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
107}
108

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)SeverityRules
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

Report a package

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

0 / 4000
Your suggestion