ciliterm-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 and uses a wrapper script to launch it with system Electron; the source is verifiable and the build process is transparent, posing minimal risk despite the untrusted host heuristic flag.
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 and uses a wrapper script to launch it with system Electron; the source is verifiable and the build process is transparent, posing minimal risk despite the untrusted host heuristic flag.
PKGBUILD
1
# Maintainer: zxp19821005 <zxp19821005 at 163 dot com>
2
pkgname=ciliterm-bin
3
_pkgname=CiliTerm
4
pkgver=2.0.1
5
_electronversion=43
6
pkgrel=1
7
pkgdesc="A web-first, daily-driver sci-fi terminal in the spirit of eDEX-UI, with a TRON / ENCOM-style glowing hex globe (inspired by encom-globe).(Prebuilt version.Use system-wide electron)"
8
arch=('x86_64')
9
url="https://github.com/ciliverse/ciliterm"
10
license=('AGPL-3.0-only')
11
conflicts=("${pkgname%-bin}")
12
provides=("${pkgname%-bin}=${pkgver}")
13
depends=(
14
"electron${_electronversion}"
15
'nodejs'
16
'python'
17
)
18
options=(
19
'!emptydirs'
20
'!strip'
21
)
22
source=(
23
"${pkgname%-bin}-${pkgver}.deb::${url}/releases/download/v${pkgver}/${_pkgname}-${pkgver}-linux-amd64.deb"
24
"${pkgname%-bin}.sh"
25
)
26
sha256sums=('ca1f4e1ebf5eadc4e76404002cc2f66b2e19ed17aab8a68a7e97be13d55bce6d'
27
'a774c2f54fbbeeaac3cefc0f7250796d30c86d27f0fd40b7eaf9c0fdb021623d')
28
_get_app_dir() {
29
find "${srcdir}" -type f -name "resources.pak" -exec dirname {} + | head -n 1
30
}
31
_check_electron_version() {
32
echo "Verifying Electron version..."
33
local _main_exe=$(find "$(_get_app_dir)" -maxdepth 1 -type f -executable -printf '%s %p\n' | sort -nr | head -1 | cut -d' ' -f2-)
34
[[ -z "${_main_exe}" ]] && echo -e "\033[1;33mNote: Could not find Electron binary.\033[0m" && return
35
local _elec_ver=$(strings "${_main_exe}" | grep -oP 'Electron/\K[0-9]+' | head -1)
36
[[ -z "${_elec_ver}" ]] && echo -e "\033[1;33mNote: Could not determine Electron version.\033[0m" && return
37
[[ "${_elec_ver}" != "${_electronversion}" ]] &&
38
echo -e "\033[1;31mWarning: Electron version mismatch! Detected: ${_elec_ver}, Expected: ${_electronversion}\033[0m" ||
39
echo -e "Electron version verified: \033[1;31m${_elec_ver}\033[0m"
40
}
41
prepare() {
42
sed -i -e "
43
s/@electronversion@/${_electronversion}/g
44
s/@appname@/${pkgname%-bin}/g
45
s/@runname@/app/g
46
s/@cfgdirname@/${pkgname%-bin}/g
47
" "${srcdir}/${pkgname%-bin}.sh"
48
bsdtar -xf "${srcdir}/data."*
49
_check_electron_version
50
sed -i "s/\/opt\/${_pkgname}\///g" "${srcdir}/usr/share/applications/${pkgname%-bin}.desktop"
51
}
52
package() {
53
install -Dm755 "${srcdir}/${pkgname%-bin}.sh" "${pkgdir}/usr/bin/${pkgname%-bin}"
54
install -Dm755 -d "${pkgdir}/usr/lib/${pkgname%-bin}"
55
local _app_dir=$(_get_app_dir)
56
cp -a "${_app_dir}/resources/"* "${pkgdir}/usr/lib/${pkgname%-bin}/"
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}/usr/share/applications/${pkgname%-bin}.desktop" -t "${pkgdir}/usr/share/applications"
64
}
65
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 01:34:00 | LOW | 2 |