plezy-git
maintainer latte_macchiato
· 1 votes
· scanned 2026-08-03 00:08:14.047287
LOW
View on AUR ↗
Why flagged
The package downloads Flutter SDK from Google's official release infrastructure, which is a trusted source; the build process compiles the app from source using this SDK, and no untrusted executables are run.
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 package downloads Flutter SDK from Google's official release infrastructure, which is a trusted source; the build process compiles the app from source using this SDK, and no untrusted executables are run.
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>
2
pkgname=plezy-git
3
_pkgname=plezy
4
pkgver=2.11.1.r11.g3509f4b
5
pkgrel=1
6
pkgdesc='A modern Plex client for desktop and mobile'
7
arch=('x86_64')
8
url='https://github.com/edde746/plezy'
9
license=('GPL-3.0-or-later')
10
depends=(
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
)
22
makedepends=(
23
'clang'
24
'cmake'
25
'java-environment'
26
'ninja'
27
'pkgconf'
28
'git'
29
'patchelf'
30
'unzip'
31
)
32
provides=("$_pkgname")
33
conflicts=("$_pkgname")
34
options=('!debug')
35
_flutter_ver=3.44.0
36
source=(
37
"$_pkgname::git+$url.git"
38
"https://storage.googleapis.com/flutter_infra_release/releases/stable/linux/flutter_linux_${_flutter_ver}-stable.tar.xz"
39
)
40
sha256sums=('SKIP'
41
'e1ec95e6c550458a34de93580cb85dac24da0e9bedb9bb42811f050ac5a0c7d5')
42
43
pkgver() {
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
49
build() {
50
export PATH="$srcdir/flutter/bin:$PATH"
51
export PUB_CACHE="$srcdir/.pub-cache"
52
53
flutter config --no-analytics
54
flutter precache --linux
55
56
cd "$_pkgname"
57
flutter pub get
58
59
# Remove -Werror from all CMakeLists.txt (fixes strict clang warnings in plugins)
60
find . -name 'CMakeLists.txt' -exec sed -i 's/-Werror//g' {} +
61
62
flutter build linux --release
63
}
64
65
package() {
66
cd "$_pkgname"
67
68
# Install the application bundle
69
install -dm755 "$pkgdir/opt/$_pkgname"
70
cp -r build/linux/x64/release/bundle/* "$pkgdir/opt/$_pkgname/"
71
72
# Replace Flutter build-time RUNPATHs with relocatable bundle-local paths.
73
find "$pkgdir/opt/$_pkgname/lib" -type f -name '*.so' \
74
-exec patchelf --set-rpath '$ORIGIN' {} +
75
if [[ -f "$pkgdir/opt/$_pkgname/lib/crashpad_handler" ]]; then
76
patchelf --set-rpath '$ORIGIN' "$pkgdir/opt/$_pkgname/lib/crashpad_handler"
77
fi
78
79
# Create wrapper script
80
install -Dm755 /dev/stdin "$pkgdir/usr/bin/$_pkgname" <<EOF
81
#!/bin/bash
82
cd /opt/$_pkgname
83
exec ./$_pkgname "\$@"
84
EOF
85
86
# Install desktop file
87
install -Dm644 linux/packaging/com.edde746.plezy.desktop \
88
"$pkgdir/usr/share/applications/com.edde746.plezy.desktop"
89
90
# Install icon
91
install -Dm644 assets/plezy.png \
92
"$pkgdir/usr/share/icons/hicolor/512x512/apps/$_pkgname.png"
93
94
# Install license
95
install -Dm644 LICENSE "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
96
}
97
Changes since previous scan
--- PKGBUILD @ 2026-08-01 00:11+++ PKGBUILD @ 2026-08-03 00:08@@ -1,7 +1,7 @@ # Maintainer: Latte macchiato <contact@lattemacchiato.dev> pkgname=plezy-git _pkgname=plezy-pkgver=2.11.1.r0.gdc5a92a+pkgver=2.11.1.r11.g3509f4b pkgrel=1 pkgdesc='A modern Plex client for desktop and mobile' arch=('x86_64')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 05:20:08 | MEDIUM | 1 |
| 2026-08-01 00:11:18 | LOW | 2 |
| 2026-07-31 05:17:13 | MEDIUM | 1 |
| 2026-07-31 00:14:10 | LOW | 2 |
| 2026-07-30 05:14:03 | MEDIUM | 1 |
| 2026-07-30 00:17:23 | LOW | 2 |
| 2026-07-29 05:10:22 | MEDIUM | 1 |
| 2026-07-29 00:25:53 | LOW | 2 |
| 2026-07-28 05:37:03 | MEDIUM | 1 |
| 2026-07-28 00:07:28 | LOW | 2 |
| 2026-07-27 05:34:42 | MEDIUM | 1 |
| 2026-07-27 00:24:32 | LOW | 2 |
| 2026-07-26 05:31:42 | MEDIUM | 1 |
| 2026-07-26 00:07:32 | LOW | 2 |
| 2026-07-25 05:29:17 | MEDIUM | 1 |
| 2026-07-25 00:13:44 | LOW | 2 |
| 2026-07-24 05:27:22 | MEDIUM | 1 |
| 2026-07-24 00:02:28 | LOW | 2 |