mister-companion-bin

LOW
maintainer darthmaul86 0 votes scanned 2026-09-20 19:33:19.533630
View on AUR
Why flagged

The package installs a pre-built binary from a GitHub release, which is a normal distribution method for such tools; the binary is not executed at build/install time, and the wrapper script safely copies it to user space for execution, posing minimal risk.

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 pre-built binary from a GitHub release, which is a normal distribution method for such tools; the binary is not executed at build/install time, and the wrapper script safely copies it to user space for execution, posing minimal risk.

PKGBUILD

1# Maintainer: darthmaul86 <pitepana@gmail.com>
2pkgname=mister-companion-bin
3_pkgname=mister-companion
4pkgver=8.3.1
5pkgrel=1
6pkgdesc="Companion utility for managing and syncing MiSTer FPGA setups (Official pre-built binary with full Cloud & Scraper support)"
7arch=('x86_64')
8url="https://github.com/Anime0t4ku/mister-companion"
9license=('GPL-2.0-only')
10depends=('zlib' 'glibc' 'fuse2')
11provides=("${_pkgname}")
12conflicts=("${_pkgname}")
13options=('!strip')
14source=("${url}/releases/download/v${pkgver}/MiSTer-Companion-Linux-x86_64.tar.gz")
15sha256sums=('885092095b81b69f7bbb479047424c7bec6d8e3b07cc90189c97b0e97c3c6863')
16
17package() {
18 cd "${srcdir}"
19
20 # 1. Εγκατάσταση των binary αρχείων στο /usr/lib/mister-companion ως template
21 install -d "${pkgdir}/usr/lib/${_pkgname}"
22 cp -r ./* "${pkgdir}/usr/lib/${_pkgname}/" 2>/dev/null || cp -r . "${pkgdir}/usr/lib/${_pkgname}/"
23
24 # 2. Wrapper script που συγχρονίζει/εκτελεί τα binaries στο ~/.local/share/mister-companion
25 install -d "${pkgdir}/usr/bin"
26 cat << 'EOF' > "${pkgdir}/usr/bin/mister-companion"
27#!/bin/sh
28APP_DIR="${XDG_DATA_HOME:-$HOME/.local/share}/mister-companion"
29mkdir -p "$APP_DIR"
30
31# Copy/sync binary files to user space so write permissions work natively
32rsync -a --update /usr/lib/mister-companion/ "$APP_DIR/" 2>/dev/null || cp -rn /usr/lib/mister-companion/* "$APP_DIR/"
33
34cd "$APP_DIR"
35exec ./MiSTer-Companion "$@"
36EOF
37 chmod +x "${pkgdir}/usr/bin/mister-companion"
38
39 # 3. Εγκατάσταση εικονιδίου
40 if [ -f "${pkgdir}/usr/lib/${_pkgname}/resources/icon.png" ]; then
41 install -Dm644 "${pkgdir}/usr/lib/${_pkgname}/resources/icon.png" \
42 "${pkgdir}/usr/share/pixmaps/${_pkgname}.png"
43 elif [ -f "${pkgdir}/usr/lib/${_pkgname}/icon.png" ]; then
44 install -Dm644 "${pkgdir}/usr/lib/${_pkgname}/icon.png" \
45 "${pkgdir}/usr/share/pixmaps/${_pkgname}.png"
46 fi
47
48 # 4. Δημιουργία Desktop Shortcut
49 install -d "${pkgdir}/usr/share/applications"
50 cat << EOF > "${pkgdir}/usr/share/applications/${_pkgname}.desktop"
51[Desktop Entry]
52Name=MiSTer Companion
53Comment=Companion utility for managing and syncing MiSTer FPGA setups
54Exec=${_pkgname}
55Icon=${_pkgname}
56Terminal=false
57Type=Application
58Categories=Utility;Settings;
59EOF
60}
61

Scan history

Scanned at (UTC)SeverityRules
2026-09-20 19:33:19 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