mister-companion-git

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

Uploaded within the last 14 days with 2 or fewer community votes — little peer review so far.

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.

PKGBUILD

1# Maintainer: darthmaul86 <pitepana@gmail.com>
2
3_pkgname=mister-companion
4pkgname=${_pkgname}-git
5pkgver=r415.ae87ce3
6pkgrel=1
7pkgdesc="Companion utility for managing and syncing MiSTer FPGA setups"
8arch=('any')
9url="https://github.com/Anime0t4ku/mister-companion"
10license=('GPL-2.0-only')
11depends=('python' 'python-requests' 'python-paramiko' 'python-psutil' 'python-pyqt6' 'python-websocket-client' 'python-pillow')
12makedepends=('git')
13provides=("${_pkgname}")
14conflicts=("${_pkgname}")
15source=("git+https://github.com/Anime0t4ku/mister-companion.git")
16sha256sums=('SKIP')
17
18pkgver() {
19 cd "${_pkgname}"
20 printf "r%s.%s" "$(git rev-list --count HEAD)" "$(git rev-parse --short HEAD)"
21}
22
23package() {
24 cd "${_pkgname}"
25
26 install -dm755 "${pkgdir}/usr/share/${_pkgname}"
27 cp -r * "${pkgdir}/usr/share/${_pkgname}/"
28
29 # Δημιουργία wrapper script που προετοιμάζει τον φάκελο στο ~/.config
30 install -dm755 "${pkgdir}/usr/bin"
31 cat <<EOF > "${pkgdir}/usr/bin/${_pkgname}"
32#!/bin/sh
33CONF_DIR="\${XDG_CONFIG_HOME:-\$HOME/.config}/${_pkgname}"
34mkdir -p "\$CONF_DIR"
35
36# Αντιγραφή των απαραίτητων αρχείων/δομών αν δεν υπάρχουν στο ~/.config
37if [ ! -f "\$CONF_DIR/main.py" ]; then
38 cp -rn /usr/share/${_pkgname}/${_pkgname}/* "\$CONF_DIR/"
39fi
40
41cd "\$CONF_DIR"
42exec python main.py "\$@"
43EOF
44 chmod +x "${pkgdir}/usr/bin/${_pkgname}"
45
46 install -dm755 "${pkgdir}/usr/share/pixmaps"
47 install -Dm644 "${_pkgname}/assets/icon.png" "${pkgdir}/usr/share/pixmaps/${_pkgname}.png"
48
49 install -dm755 "${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=mister-companion
55Icon=mister-companion
56Terminal=false
57Type=Application
58Categories=Utility;Settings;
59EOF
60}
61

Scan history

Scanned at (UTC)SeverityRules
2026-09-20 19:33:19 Low 1

Report a package

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

0 / 4000
Your suggestion