intelis-interfacing-bin

LOW
maintainer zxp19821005 0 votes scanned 2026-09-07 05:13:32.543428
View on AUR
Why flagged

The package installs a prebuilt .deb from a GitHub release, which is a normal distribution method for Electron apps; the source is verifiable, checksummed, and from the project's official repository, posing no inherent risk beyond standard AUR package expectations.

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 a GitHub release, which is a normal distribution method for Electron apps; the source is verifiable, checksummed, and from the project's official repository, posing no inherent risk beyond standard AUR package expectations.

PKGBUILD

1# Maintainer: zxp19821005 <zxp19821005 at 163 dot com>
2pkgname=intelis-interfacing-bin
3_pkgname='InteLIS Interfacing'
4pkgver=4.3.0
5_electronversion=44
6pkgrel=1
7pkgdesc="Viral Load Sample Management - Machine Interfacing.(Prebuilt version.Use system-wide electron)"
8arch=('x86_64')
9url="https://deforay.github.io/intelis-interfacing/"
10_ghurl="https://github.com/deforay/intelis-interfacing"
11license=('AGPL-3.0-or-later')
12conflicts=("${pkgname%-bin}")
13provides=("${pkgname%-bin}=${pkgver}")
14depends=(
15 "electron${_electronversion}"
16 'nodejs'
17)
18source=(
19 "${pkgname%-bin}-${pkgver}.deb::${_ghurl}/releases/download/v${pkgver}/${pkgname%-bin}-${pkgver}-linux-amd64.deb"
20 "LICENSE-${pkgver}.md::https://raw.githubusercontent.com/deforay/vlsm-interfacing/v${pkgver}/LICENSE.md"
21 "${pkgname%-bin}.sh"
22)
23sha256sums=('7881157afaf5b07e14346d0f7fb1ac31964b825d5e04a77c431468f046efb8eb'
24 '90e8f1d7651f22d814f741854e325de31508a7d77cdc512f7244b87961612e41'
25 'a774c2f54fbbeeaac3cefc0f7250796d30c86d27f0fd40b7eaf9c0fdb021623d')
26_get_app_dir() {
27 find "${srcdir}" -type f -name "resources.pak" -exec dirname {} + | head -n 1
28}
29_check_electron_version() {
30 echo "Verifying Electron version..."
31 local _main_exe=$(find "$(_get_app_dir)" -maxdepth 1 -type f -executable -printf '%s %p\n' | sort -nr | head -1 | cut -d' ' -f2-)
32 [[ -z "${_main_exe}" ]] && echo -e "\033[1;33mNote: Could not find Electron binary.\033[0m" && return
33 local _elec_ver=$(strings "${_main_exe}" | grep -oP 'Electron/\K[0-9]+' | head -1)
34 [[ -z "${_elec_ver}" ]] && echo -e "\033[1;33mNote: Could not determine Electron version.\033[0m" && return
35 [[ "${_elec_ver}" != "${_electronversion}" ]] &&
36 echo -e "\033[1;31mWarning: Electron version mismatch! Detected: ${_elec_ver}, Expected: ${_electronversion}\033[0m" ||
37 echo -e "Electron version verified: \033[1;31m${_elec_ver}\033[0m"
38}
39prepare() {
40 sed -i -e "
41 s/@electronversion@/${_electronversion}/g
42 s/@appname@/${pkgname%-bin}/g
43 s/@runname@/app/g
44 s/@cfgdirname@/vlsm-interfacing/g
45 " "${srcdir}/${pkgname%-bin}.sh"
46 bsdtar -xf "${srcdir}/data."*
47 _check_electron_version
48 sed -i "s/\/opt\/${pkgname%-bin}\///g" "${srcdir}/usr/share/applications/${pkgname%-bin}.desktop"
49}
50package() {
51 install -Dm755 "${srcdir}/${pkgname%-bin}.sh" "${pkgdir}/usr/bin/${pkgname%-bin}"
52 install -Dm755 -d "${pkgdir}/usr/lib/${pkgname%-bin}"
53 local _app_dir=$(_get_app_dir)
54 cp -a "${_app_dir}/resources/"* "${pkgdir}/usr/lib/${pkgname%-bin}/"
55 find "${srcdir}" -type f \( -name "*.png" -o -name "*.svg" \) -path "*share/icons/*" | while read -r _i; do
56 _extension="${_i##*.}"
57 _icon_path="${_i#*share/icons/}"
58 _target_dir="/usr/share/icons/$(dirname "${_icon_path}")"
59 install -Dm644 "${_i}" "${pkgdir}${_target_dir}/${pkgname%-bin}.${_extension}"
60 done
61 install -Dm644 "${srcdir}/usr/share/applications/${pkgname%-bin}.desktop" -t "${pkgdir}/usr/share/applications"
62 install -Dm644 "${srcdir}/LICENSE-${pkgver}.md" "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE.md"
63}
64

Scan history

Scanned at (UTC)SeverityRules
2026-09-07 05:13:32 Low 2

Report a package

Reports go to the AURWatch maintainer (one person) and are read by hand. No login required.

0 / 4000
Your suggestion