mootool-next-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 binary packages; the source is trustworthy and the build process is transparent, with no code execution from untrusted sources.
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 95%): The package installs a prebuilt .deb from the project's official GitHub releases, which is normal for binary packages; the source is trustworthy and the build process is transparent, with no code execution from untrusted sources.
PKGBUILD
1
# Maintainer: zxp19821005 <zxp19821005 at 163 dot com>
2
pkgname=mootool-next-bin
3
_pkgname=MooTool-Next-Electron
4
pkgver=1.0.9
5
_electronversion=43
6
pkgrel=1
7
pkgdesc="Handy tool set for developers.(Prebuilt version.Use system-wide electron)"
8
arch=('x86_64')
9
url="https://mootool.luoboduner.com/"
10
_ghurl="https://github.com/rememberber/MooTool"
11
license=('MIT')
12
conflicts=("${pkgname%-bin}")
13
provides=("${pkgname%-bin}=${pkgver}")
14
depends=(
15
"electron${_electronversion}"
16
)
17
options=(
18
'!emptydirs'
19
'!strip'
20
)
21
source=(
22
"${pkgname%-bin}-${pkgver}.deb::${_ghurl}/releases/download/next-electron-v${pkgver}/${_pkgname}-${pkgver}-linux-x64.deb"
23
"LICENSE-${pkgver}::https://raw.githubusercontent.com/rememberber/MooTool/next-electron-v${pkgver}/LICENSE.txt"
24
"${pkgname%-bin}.sh"
25
)
26
sha256sums=('06aaddcf52e094f50edb21724d7aa55528b6beafc05ed8fa47ca38ba905183bb'
27
'91930d61ff6e2bd3ceaf0ac0de4431d4ede9a9a940ca327367820df54762e333'
28
'a774c2f54fbbeeaac3cefc0f7250796d30c86d27f0fd40b7eaf9c0fdb021623d')
29
_get_app_dir() {
30
find "${srcdir}" -type f -name "resources.pak" -exec dirname {} + | head -n 1
31
}
32
_check_electron_version() {
33
echo "Verifying Electron version..."
34
local _main_exe=$(find "$(_get_app_dir)" -maxdepth 1 -type f -executable -printf '%s %p\n' | sort -nr | head -1 | cut -d' ' -f2-)
35
[[ -z "${_main_exe}" ]] && echo -e "\033[1;33mNote: Could not find Electron binary.\033[0m" && return
36
local _elec_ver=$(strings "${_main_exe}" | grep -oP 'Electron/\K[0-9]+' | head -1)
37
[[ -z "${_elec_ver}" ]] && echo -e "\033[1;33mNote: Could not determine Electron version.\033[0m" && return
38
[[ "${_elec_ver}" != "${_electronversion}" ]] &&
39
echo -e "\033[1;31mWarning: Electron version mismatch! Detected: ${_elec_ver}, Expected: ${_electronversion}\033[0m" ||
40
echo -e "Electron version verified: \033[1;31m${_elec_ver}\033[0m"
41
}
42
prepare() {
43
sed -i -e "
44
s/@electronversion@/${_electronversion}/g
45
s/@appname@/${pkgname%-bin}/g
46
s/@runname@/app.asar/g
47
s/@cfgdirname@/${pkgname%-bin}/g
48
" "${srcdir}/${pkgname%-bin}.sh"
49
bsdtar -xf "${srcdir}/data."*
50
_check_electron_version
51
sed -i "s/\"\/opt\/${_pkgname// /-}\/${pkgname%-bin}\"/${pkgname%-bin}/g" "${srcdir}/usr/share/applications/${pkgname%-bin}.desktop"
52
}
53
package() {
54
install -Dm755 "${srcdir}/${pkgname%-bin}.sh" "${pkgdir}/usr/bin/${pkgname%-bin}"
55
install -Dm755 -d "${pkgdir}/usr/lib/${pkgname%-bin}"
56
local _app_dir=$(_get_app_dir)
57
cp -a "${_app_dir}/resources/"* "${pkgdir}/usr/lib/${pkgname%-bin}/"
58
find "${srcdir}" -type f \( -name "*.png" -o -name "*.svg" \) -path "*share/icons/*" | while read -r _i; do
59
_extension="${_i##*.}"
60
_icon_path="${_i#*share/icons/}"
61
_target_dir="/usr/share/icons/$(dirname "${_icon_path}")"
62
install -Dm644 "${_i}" "${pkgdir}${_target_dir}/${pkgname%-bin}.${_extension}"
63
done
64
install -Dm644 "${srcdir}/usr/share/applications/${pkgname%-bin}.desktop" -t "${pkgdir}/usr/share/applications"
65
install -Dm644 "${srcdir}/LICENSE-${pkgver}" "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
66
}
67
Changes since previous scan
--- PKGBUILD @ 2026-07-28 00:07+++ PKGBUILD @ 2026-08-03 00:08@@ -1,7 +1,7 @@ # Maintainer: zxp19821005 <zxp19821005 at 163 dot com> pkgname=mootool-next-bin _pkgname=MooTool-Next-Electron-pkgver=1.0.8+pkgver=1.0.9 _electronversion=43 pkgrel=1 pkgdesc="Handy tool set for developers.(Prebuilt version.Use system-wide electron)"@@ -23,7 +23,7 @@ "LICENSE-${pkgver}::https://raw.githubusercontent.com/rememberber/MooTool/next-electron-v${pkgver}/LICENSE.txt" "${pkgname%-bin}.sh" )-sha256sums=('ab481870ecad320cf932d6b5023c0598d169220449ef70140c7d9213c45fed14'+sha256sums=('06aaddcf52e094f50edb21724d7aa55528b6beafc05ed8fa47ca38ba905183bb' '91930d61ff6e2bd3ceaf0ac0de4431d4ede9a9a940ca327367820df54762e333' 'a774c2f54fbbeeaac3cefc0f7250796d30c86d27f0fd40b7eaf9c0fdb021623d') _get_app_dir() {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 09:37:42 | LOW | 2 |
| 2026-07-28 01:36:52 | LOW | 2 |
| 2026-07-28 00:07:28 | LOW | 2 |
| 2026-07-27 03:34:02 | LOW | 2 |
| 2026-07-27 00:24:32 | LOW | 2 |
| 2026-07-26 00:07:32 | LOW | 2 |
| 2026-07-25 00:13:44 | LOW | 2 |
| 2026-07-24 00:02:28 | LOW | 2 |
| 2026-07-23 00:14:47 | LOW | 2 |
| 2026-07-22 17:21:24 | LOW | 2 |
| 2026-07-22 11:20:06 | LOW | 2 |
| 2026-07-22 09:20:02 | LOW | 2 |