banchoxterm

LOW
maintainer Gargadon 0 votes scanned 2026-10-06 00:13:36.889724
View on AUR
Why flagged

Package builds from source using the project's own GitHub repositories; skipped checksums are for git sources which are not individually verified but are from trusted project-owned URLs, and the build integrates these as dependencies in a standard way without executing untrusted prebuilt binaries.

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%): Package builds from source using the project's own GitHub repositories; skipped checksums are for git sources which are not individually verified but are from trusted project-owned URLs, and the build integrates these as dependencies in a standard way without executing untrusted prebuilt binaries.

PKGBUILD

1pkgname=banchoxterm
2pkgver=1.2.2
3pkgrel=1
4pkgdesc='Multi-protocol terminal emulator and remote session manager'
5arch=('x86_64')
6url='https://github.com/Gargadon/banchoxterm'
7license=('GPL-2.0-or-later')
8depends=('qt6-base' 'qt6-serialport')
9makedepends=('cmake' 'ninja' 'qt6-tools' 'desktop-file-utils')
10source=(
11 "${pkgname}-${pkgver}.tar.gz::https://github.com/Gargadon/banchoxterm/archive/refs/tags/v${pkgver}.tar.gz"
12 'qtermwidget::git+https://github.com/Gargadon/qtermwidget.git'
13 'libssh2::git+https://github.com/libssh2/libssh2.git'
14 'libsodium::git+https://github.com/jedisct1/libsodium.git'
15 'libvncserver::git+https://github.com/LibVNC/libvncserver.git'
16)
17sha256sums=('8750dba10c220f75893a49e12287c4a44a9172a2d16c3e2111fb0289b89bc586'
18 'SKIP'
19 'SKIP'
20 'SKIP'
21 'SKIP')
22
23prepare() {
24 cat > "${srcdir}/banchoxterm.desktop" <<'EOF'
25[Desktop Entry]
26Type=Application
27Name=BanchoXterm
28Comment=Multi-protocol terminal emulator and remote session manager
29Exec=banchoxterm %U
30Icon=banchoxterm
31Terminal=false
32Categories=System;TerminalEmulator;Network;
33StartupNotify=true
34EOF
35
36 rm -rf "${srcdir}/${pkgname}-${pkgver}/third_party/qtermwidget"
37 cp -a "${srcdir}/qtermwidget" "${srcdir}/${pkgname}-${pkgver}/third_party/qtermwidget"
38
39 # Recent libvncserver revisions keep the public headers under include/rfb,
40 # while BanchoXterm's VNC target uses the legacy source-root include path.
41 if [[ -d "${srcdir}/libvncserver/include/rfb" ]]; then
42 mkdir -p "${srcdir}/libvncserver/rfb"
43 cp -a "${srcdir}/libvncserver/include/rfb/." \
44 "${srcdir}/libvncserver/rfb/"
45 fi
46
47 sed -i \
48 -e 's|KB_LAYOUT_DIR="${QTQ_LIB}/kb-layouts"|KB_LAYOUT_DIR="/usr/lib/banchoxterm/kb-layouts"|' \
49 -e 's|COLORSCHEMES_DIR="${QTQ_LIB}/color-schemes"|COLORSCHEMES_DIR="/usr/lib/banchoxterm/color-schemes"|' \
50 -e 's|TRANSLATIONS_DIR="${QTQ_LIB}/translations"|TRANSLATIONS_DIR="/usr/lib/banchoxterm/translations"|' \
51 -e '/\${libvncserver_BINARY_DIR}/a\ ${libvncserver_BINARY_DIR}/include' \
52 "${srcdir}/${pkgname}-${pkgver}/CMakeLists.txt"
53}
54
55build() {
56 rm -rf "${srcdir}/build"
57 cmake -S "${pkgname}-${pkgver}" -B build -G Ninja \
58 -DCMAKE_BUILD_TYPE=Release \
59 -DCMAKE_INSTALL_PREFIX=/usr \
60 -DBANCHO_ENABLE_IPO=OFF \
61 -DFETCHCONTENT_SOURCE_DIR_LIBSSH2="${srcdir}/libssh2" \
62 -DFETCHCONTENT_SOURCE_DIR_LIBSODIUM="${srcdir}/libsodium" \
63 -DFETCHCONTENT_SOURCE_DIR_LIBVNCSERVER="${srcdir}/libvncserver"
64 cmake --build build --target banchoxterm
65}
66
67check() {
68 desktop-file-validate banchoxterm.desktop
69}
70
71package() {
72 local appdir="${pkgdir}/usr/lib/banchoxterm"
73
74 install -Dm755 build/banchoxterm "${appdir}/banchoxterm"
75 install -Dm644 "${pkgname}-${pkgver}/LICENSE" "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
76 install -Dm644 "${pkgname}-${pkgver}/icons/logo.svg" \
77 "${pkgdir}/usr/share/icons/hicolor/scalable/apps/banchoxterm.svg"
78 install -Dm644 banchoxterm.desktop \
79 "${pkgdir}/usr/share/applications/banchoxterm.desktop"
80
81 cp -r build/color-schemes "${appdir}/"
82 cp -r build/kb-layouts "${appdir}/"
83 cp -r build/translations "${appdir}/"
84
85 install -d "${pkgdir}/usr/bin"
86 ln -s /usr/lib/banchoxterm/banchoxterm "${pkgdir}/usr/bin/banchoxterm"
87}
88

Scan history

Scanned at (UTC)SeverityRules
2026-10-06 00:13:36 Low 2
2026-10-05 23:40:58 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