zenplay-bin
maintainer zxp19821005
· 0 votes
· scanned 2026-08-03 00:08:14.047287
LOW
View on AUR ↗
Why flagged
The package installs a prebuilt .deb from the project's official GitHub releases, which is normal for AUR binary packages; the source is verifiable and the checksum is provided, making it low risk despite the maintainer's low vote count and recent upload.
Triggered rules
LOW
Few votes, recently uploaded
zero_votes_recent
Uploaded within the last 14 days with 2 or fewer community votes — little peer review so far.
LOW
AI review
llm_review
An AI model (qwen/qwen3-235b-a22b-2507) reviewed this and agrees it is LOW (confidence 90%): The package installs a prebuilt .deb from the project's official GitHub releases, which is normal for AUR binary packages; the source is verifiable and the checksum is provided, making it low risk despite the maintainer's low vote count and recent upload.
PKGBUILD
1
# Maintainer: zxp19821005 <zxp19821005 at 163 dot com>
2
pkgname=zenplay-bin
3
_pkgname=ZenPlay
4
pkgver=2.1.0
5
_electronversion=41
6
pkgrel=1
7
pkgdesc="A lightweight Electron-based desktop client designed for a fast, clean, and distraction-free YouTube experience.(Prebuilt version.Use system-wide electron)"
8
arch=('x86_64')
9
url="https://github.com/erebos-git/ZenPlay"
10
license=('ISC')
11
provides=("${pkgname%-bin}=${pkgver}")
12
conflicts=("${pkgname%-bin}")
13
depends=(
14
"electron${_electronversion}"
15
)
16
source=(
17
"${pkgname%-bin}-${pkgver}.deb::${url}/releases/download/v${pkgver}/${_pkgname}_${pkgver}_amd64.deb"
18
"LICENSE-${pkgver}::https://raw.githubusercontent.com/erebos-git/ZenPlay/v${pkgver}/LICENSE"
19
"${pkgname%-bin}.sh"
20
)
21
sha256sums=('968b850ef9163fa76e24cf56ecc0874b63f08779c5e184cf5f97f9d0cdaed07c'
22
'ef6167f39ce8ea8fe037da2ef01e45b47a32cede9622d1f70d5c6cf1b1c10490'
23
'a774c2f54fbbeeaac3cefc0f7250796d30c86d27f0fd40b7eaf9c0fdb021623d')
24
_get_app_dir() {
25
find "${srcdir}" -type f -name "resources.pak" -exec dirname {} + | head -n 1
26
}
27
_check_electron_version() {
28
echo "Verifying Electron version..."
29
local _main_exe=$(find "$(_get_app_dir)" -maxdepth 1 -type f -executable -printf '%s %p\n' | sort -nr | head -1 | cut -d' ' -f2-)
30
[[ -z "${_main_exe}" ]] && echo -e "\033[1;33mNote: Could not find Electron binary.\033[0m" && return
31
local _elec_ver=$(strings "${_main_exe}" | grep -oP 'Electron/\K[0-9]+' | head -1)
32
[[ -z "${_elec_ver}" ]] && echo -e "\033[1;33mNote: Could not determine Electron version.\033[0m" && return
33
[[ "${_elec_ver}" != "${_electronversion}" ]] &&
34
echo -e "\033[1;31mWarning: Electron version mismatch! Detected: ${_elec_ver}, Expected: ${_electronversion}\033[0m" ||
35
echo -e "Electron version verified: \033[1;31m${_elec_ver}\033[0m"
36
}
37
prepare() {
38
sed -i -e "
39
s/@electronversion@/${_electronversion}/g
40
s/@appname@/${pkgname%-bin}/g
41
s/@runname@/app.asar/g
42
s/@cfgdirname@/${_pkgname}/g
43
" "${srcdir}/${pkgname%-bin}.sh"
44
bsdtar -xf "${srcdir}/data."*
45
_check_electron_version
46
sed -i -e "
47
s/\/opt\/${_pkgname}\///g
48
s/Categories=Video;/Categories=AudioVideo;/g
49
" "${srcdir}/usr/share/applications/${pkgname%-bin}.desktop"
50
}
51
package() {
52
install -Dm755 "${srcdir}/${pkgname%-bin}.sh" "${pkgdir}/usr/bin/${pkgname%-bin}"
53
install -Dm755 -d "${pkgdir}/usr/lib/${pkgname%-bin}"
54
local _app_dir=$(_get_app_dir)
55
cp -a "${_app_dir}/resources/"* "${pkgdir}/usr/lib/${pkgname%-bin}/"
56
install -Dm644 "${srcdir}/usr/share/applications/${pkgname%-bin}.desktop" -t "${pkgdir}/usr/share/applications"
57
find "${srcdir}" -type f \( -name "*.png" -o -name "*.svg" \) -path "*share/icons/*" | while read -r _i; do
58
_extension="${_i##*.}"
59
_icon_path="${_i#*share/icons/}"
60
_target_dir="/usr/share/icons/$(dirname "${_icon_path}")"
61
install -Dm644 "${_i}" "${pkgdir}${_target_dir}/${pkgname%-bin}.${_extension}"
62
done
63
install -Dm644 "${srcdir}/LICENSE-${pkgver}" "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
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 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 05:34:42 | LOW | 2 |