vm-qontrol-bin
LOW
maintainer codingncaffeine
0 votes
scanned 2026-11-03 18:05:30.002521
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: codingncaffeine <codingncaffeine@users.noreply.github.com>
2
# AUR binary package for VM Qontrol: repackages the official GitHub release tarball (glibc, self-contained .NET).
3
# At release: set pkgver, put the tarball's sha256 in sha256sums, then push this and the generated .SRCINFO
4
# (makepkg --printsrcinfo > .SRCINFO) to ssh://aur@aur.archlinux.org/vm-qontrol-bin.git
5
pkgname=vm-qontrol-bin
6
pkgver=0.0.5
7
pkgrel=1
8
pkgdesc="Create, run and fine-tune QEMU/KVM virtual machines: guided setup, unattended installs, settings that explain themselves"
9
arch=('x86_64')
10
url="https://github.com/codingncaffeine/VM-Qontrol"
11
license=('GPL-3.0-or-later')
12
provides=('vm-qontrol')
13
conflicts=('vm-qontrol')
14
# Self-contained .NET publish (Avalonia draws through X11 or Wayland; icu = .NET globalization), plus what every
15
# machine needs: QEMU, its disk tool and UEFI firmware.
16
depends=('glibc' 'gcc-libs' 'zlib' 'icu' 'fontconfig' 'freetype2' 'libglvnd' 'libx11' 'libxext' 'libxi' 'libxrandr'
17
'libxcursor' 'libxrender' 'libice' 'libsm' 'libxkbcommon' 'wayland'
18
'qemu-desktop' 'edk2-ovmf')
19
optdepends=('swtpm: the TPM Windows 11 requires'
20
'virt-viewer: a window for each machine screen (or spice-gtk spicy)'
21
'spice-gtk: hand USB devices to machines without a password'
22
'osinfo-db: recognize the operating system on an installer disc'
23
'virtiofsd: fast shared folders'
24
'passt: faster user-mode networking'
25
'quickemu: the operating-system download catalog'
26
'wimlib: Windows downloads from Microsoft'
27
'libisoburn: Windows downloads from Microsoft (xorriso)'
28
'ffmpeg: screen recording'
29
'polkit: one-prompt host changes (host drives, PCI handover, huge pages, nested virtualization)')
30
options=('!strip') # a self-contained .NET bundle: stripping breaks it
31
source=("$url/releases/download/v$pkgver/VMQontrol-$pkgver-linux-x64.tar.gz")
32
sha256sums=('403999444958bb45c5df7388a4407b04d40b24ed5b2b3e3803ce3505ae54fb7b')
33
noextract=("VMQontrol-$pkgver-linux-x64.tar.gz")
34
35
prepare() {
36
rm -rf "${srcdir:?}/publish"
37
mkdir -p "$srcdir/publish"
38
bsdtar -xf "$srcdir/VMQontrol-$pkgver-linux-x64.tar.gz" -C "$srcdir/publish"
39
}
40
41
package() {
42
install -dm755 "$pkgdir/usr/lib/vm-qontrol" "$pkgdir/usr/bin"
43
# Copy the WHOLE publish output, never a list of names: a narrowed copy installs cleanly and fails at launch.
44
cp -a "$srcdir/publish/." "$pkgdir/usr/lib/vm-qontrol/"
45
rm -rf "${pkgdir:?}/usr/lib/vm-qontrol/share" "${pkgdir:?}/usr/lib/vm-qontrol/README.txt" "${pkgdir:?}/usr/lib/vm-qontrol/LICENSE"
46
local _f
47
for _f in vmqontrol vmq VmQontrol.Core.dll libcoreclr.so libSkiaSharp.so libHarfBuzzSharp.so; do
48
[[ -f "$pkgdir/usr/lib/vm-qontrol/$_f" ]] || { echo "==> ERROR: $_f is missing from the payload." >&2; return 1; }
49
done
50
for _f in vmqontrol vmq; do
51
printf '#!/bin/sh\nexec /usr/lib/vm-qontrol/%s "$@"\n' "$_f" > "$pkgdir/usr/bin/$_f"
52
chmod 755 "$pkgdir/usr/bin/$_f"
53
done
54
55
install -dm755 "$pkgdir/usr/share"
56
cp -a "$srcdir/publish/share/icons" "$pkgdir/usr/share/"
57
install -Dm644 "$srcdir/publish/share/io.github.codingncaffeine.VMQontrol.desktop" \
58
"$pkgdir/usr/share/applications/io.github.codingncaffeine.VMQontrol.desktop"
59
install -Dm644 "$srcdir/publish/share/io.github.codingncaffeine.VMQontrol.metainfo.xml" \
60
"$pkgdir/usr/share/metainfo/io.github.codingncaffeine.VMQontrol.metainfo.xml"
61
install -Dm644 "$srcdir/publish/README.txt" "$pkgdir/usr/share/doc/vm-qontrol/README.txt"
62
install -Dm644 "$srcdir/publish/LICENSE" "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
63
}
64
Scan history
| Scanned at (UTC) | Severity | Rules |
|---|---|---|
| 2026-11-03 18:05:30 | Low | 1 |