drakontech-bin
LOW
maintainer orphaned
0 votes
scanned 2026-10-07 14:05:47.471701
Why flagged
The package installs a prebuilt RPM from the project's official GitHub repository, which is a normal distribution method; the source is verifiable via checksum and comes from the legitimate upstream, posing no active threat.
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 RPM from the project's official GitHub repository, which is a normal distribution method; the source is verifiable via checksum and comes from the legitimate upstream, posing no active threat.
PKGBUILD
1
# Maintainer: zxp19821005 <zxp19821005 at 163 dot com>
2
pkgname=drakontech-bin
3
_pkgname=DrakonTech
4
pkgver=2026.06.19
5
_electronversion=32
6
pkgrel=1
7
pkgdesc="A flowchart editor that generates source code in Clojure, JavaScript, Lua, Perfolenta, and OneScript.(Prebuilt version.Use system-wide electron)"
8
arch=('x86_64')
9
url="https://github.com/stepan-mitkin/drakon.tech.desktop"
10
license=('Unlicense')
11
conflicts=("${pkgname%-bin}")
12
provides=("${pkgname%-bin}=${pkgver}")
13
depends=(
14
"electron${_electronversion}"
15
)
16
options=(
17
'!emptydirs'
18
)
19
source=(
20
"${pkgname%-bin}-${pkgver}.rpm::${url}/releases/download/v${pkgver}/${pkgname%-bin}-${pkgver}-1.${CARCH}.rpm"
21
"${pkgname%-bin}.sh"
22
)
23
sha256sums=('193e0059845065e917a5b83301ae287dc34b51c80500b4647ea7f71497986db9'
24
'a774c2f54fbbeeaac3cefc0f7250796d30c86d27f0fd40b7eaf9c0fdb021623d')
25
_get_app_dir() {
26
find "${srcdir}" -type f -name "resources.pak" -exec dirname {} + | head -n 1
27
}
28
_check_electron_version() {
29
echo "Verifying Electron version..."
30
local _app_dir=$(_get_app_dir)
31
local _main_exe=""
32
if [[ -n "${_app_dir}" ]]; then
33
_main_exe=$(find "${_app_dir}" -maxdepth 1 -type f -executable -printf '%s %p\n' | sort -nr | head -n 1 | cut -d' ' -f2-)
34
fi
35
if [[ -n "${_main_exe}" ]]; then
36
local _elec_ver=$(strings "${_main_exe}" | grep '^Chrome/[0-9.]* Electron/[0-9]' | cut -d'/' -f3 | cut -d'.' -f1 | head -n 1)
37
if [[ -n "${_elec_ver}" ]]; then
38
if [[ "${_elec_ver}" != "${_electronversion}" ]]; then
39
echo -e "\033[1;31mWarning: Electron version mismatch! Detected: ${_elec_ver}, Expected: ${_electronversion}\033[0m"
40
else
41
echo -e "Electron version verified: \033[1;31m${_elec_ver}\033[0m"
42
fi
43
fi
44
else
45
echo -e "\033[1;33mNote: Could not find Electron binary for version verification.\033[0m"
46
fi
47
}
48
prepare() {
49
sed -i -e "
50
s/@electronversion@/${_electronversion}/g
51
s/@appname@/${pkgname%-bin}/g
52
s/@runname@/app/g
53
s/@cfgdirname@/${_pkgname}/g
54
" "${srcdir}/${pkgname%-bin}.sh"
55
_check_electron_version
56
sed -i -e "
57
s/\/usr\/bin\/${pkgname%-bin}/${pkgname%-bin}/g
58
s/\/usr\/share\/${pkgname%-bin}\/resources\/app\/drakosha.png/${pkgname%-bin}/g
59
" "${srcdir}/usr/share/applications/${pkgname%-bin}.desktop"
60
}
61
package() {
62
install -Dm755 "${srcdir}/${pkgname%-bin}.sh" "${pkgdir}/usr/bin/${pkgname%-bin}"
63
install -Dm755 -d "${pkgdir}/usr/lib/${pkgname%-bin}"
64
local _app_dir=$(_get_app_dir)
65
cp -a "${_app_dir}/resources/". "${pkgdir}/usr/lib/${pkgname%-bin}/"
66
install -Dm644 "${srcdir}/usr/share/${pkgname%-bin}/resources/app/drakosha.png" "${pkgdir}/usr/share/pixmaps/${pkgname%-bin}.png"
67
install -Dm644 "${srcdir}/usr/share/applications/${pkgname%-bin}.desktop" -t "${pkgdir}/usr/share/applications"
68
install -Dm644 "${srcdir}/usr/share/${pkgname%-bin}/LICENSE"* -t "${pkgdir}/usr/share/licenses/${pkgname}"
69
}
70
Changes since previous scan
--- PKGBUILD @ 2026-06-18 16:11+++ PKGBUILD @ 2026-10-07 14:05@@ -1,10 +1,10 @@ # Maintainer: zxp19821005 <zxp19821005 at 163 dot com> pkgname=drakontech-bin _pkgname=DrakonTech-pkgver=2026.06.04+pkgver=2026.06.19 _electronversion=32 pkgrel=1-pkgdesc="A Visual IDE for JavaScript Development.(Prebuilt version.Use system-wide electron)"+pkgdesc="A flowchart editor that generates source code in Clojure, JavaScript, Lua, Perfolenta, and OneScript.(Prebuilt version.Use system-wide electron)" arch=('x86_64') url="https://github.com/stepan-mitkin/drakon.tech.desktop" license=('Unlicense')@@ -20,11 +20,14 @@ "${pkgname%-bin}-${pkgver}.rpm::${url}/releases/download/v${pkgver}/${pkgname%-bin}-${pkgver}-1.${CARCH}.rpm" "${pkgname%-bin}.sh" )-sha256sums=('6f91bb0bb6e771326dc24a0fb6fc3c87fd942b284b0621dc260b65b8b5782a80'+sha256sums=('193e0059845065e917a5b83301ae287dc34b51c80500b4647ea7f71497986db9' 'a774c2f54fbbeeaac3cefc0f7250796d30c86d27f0fd40b7eaf9c0fdb021623d')+_get_app_dir() {+ find "${srcdir}" -type f -name "resources.pak" -exec dirname {} + | head -n 1+} _check_electron_version() { echo "Verifying Electron version..."- local _app_dir=$(find "${srcdir}" -type f -name "resources.pak" -exec dirname {} + | head -n 1)+ local _app_dir=$(_get_app_dir) local _main_exe="" if [[ -n "${_app_dir}" ]]; then _main_exe=$(find "${_app_dir}" -maxdepth 1 -type f -executable -printf '%s %p\n' | sort -nr | head -n 1 | cut -d' ' -f2-)@@ -58,7 +61,7 @@ package() { install -Dm755 "${srcdir}/${pkgname%-bin}.sh" "${pkgdir}/usr/bin/${pkgname%-bin}" install -Dm755 -d "${pkgdir}/usr/lib/${pkgname%-bin}"- local _app_dir=$(find "${srcdir}" -type f -name "resources.pak" -exec dirname {} + | head -n 1)+ local _app_dir=$(_get_app_dir) cp -a "${_app_dir}/resources/". "${pkgdir}/usr/lib/${pkgname%-bin}/" install -Dm644 "${srcdir}/usr/share/${pkgname%-bin}/resources/app/drakosha.png" "${pkgdir}/usr/share/pixmaps/${pkgname%-bin}.png" install -Dm644 "${srcdir}/usr/share/applications/${pkgname%-bin}.desktop" -t "${pkgdir}/usr/share/applications"Scan history
| Scanned at (UTC) | Severity | Rules |
|---|---|---|
| 2026-10-07 14:05:47 | Low | 2 |
| 2026-06-22 04:12:15 | Clean | 0 |
| 2026-06-18 16:11:54 | Clean | 0 |