mpf-ui-git

LOW
maintainer zany130 0 votes scanned 2026-10-08 00:28:03.132797
View on AUR
Why flagged

The package builds from the project's own GitHub repository, which is normal for AUR packages; the low severity is due to few votes and recent upload, not malicious content.

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 builds from the project's own GitHub repository, which is normal for AUR packages; the low severity is due to few votes and recent upload, not malicious content.

PKGBUILD

1# Maintainer: Andres <andresdortiz@gmail.com>
2pkgname=mpf-ui-git
3pkgver=3.10.0.r20.gbade587
4pkgrel=2
5pkgdesc='Graphical frontend for Redumper, Aaru, and DiscImageCreator'
6arch=('x86_64' 'aarch64')
7url='https://github.com/SabreTools/MPF'
8license=('MIT')
9depends=(
10 'dotnet-runtime-10.0'
11 'fontconfig'
12 'libgl'
13 'libice'
14 'libsm'
15 'libx11'
16 'libxcursor'
17 'libxi'
18 'libxrandr'
19)
20makedepends=(
21 'dotnet-sdk-10.0'
22 'git'
23 'imagemagick'
24)
25optdepends=(
26 'redumper: default dumping backend'
27 'aaru: Aaru dumping backend'
28 'discimagecreator: DiscImageCreator dumping backend'
29)
30provides=('mpf-ui')
31conflicts=('mpf-ui' 'mpf-ui-bin')
32options=('!strip')
33source=('git+https://github.com/SabreTools/MPF.git#branch=master')
34sha256sums=('SKIP')
35
36pkgver() {
37 cd MPF
38 # Upstream's only branch is master. Exclude the moving rolling tags.
39 git describe --long --tags --abbrev=7 --exclude='*rolling*' \
40 | sed 's/\([^-]*-g\)/r\1/;s/-/./g'
41}
42
43build() {
44 cd MPF
45
46 export DOTNET_CLI_TELEMETRY_OPTOUT=1
47 export DOTNET_NOLOGO=1
48
49 local rid
50 case "$CARCH" in
51 x86_64) rid=linux-x64 ;;
52 aarch64) rid=linux-arm64 ;;
53 *) echo "Unsupported architecture: $CARCH" >&2; return 1 ;;
54 esac
55
56 # MPF.UI is Windows-only. The Linux GUI in this repository is MPF.Avalonia.
57 dotnet publish MPF.Avalonia/MPF.Avalonia.csproj \
58 --framework net10.0 \
59 --runtime "$rid" \
60 --configuration Release \
61 --self-contained false \
62 -p:PublishSingleFile=false \
63 -p:DebugType=None \
64 -p:DebugSymbols=false \
65 -o "$srcdir/publish"
66}
67
68package() {
69 cd MPF
70
71 install -dm755 "$pkgdir/usr/lib/mpf-ui"
72 cp -a --no-preserve=ownership "$srcdir/publish/." "$pkgdir/usr/lib/mpf-ui/"
73
74 cat > "$srcdir/mpf.sh" << 'EOF'
75#!/bin/sh
76config="$HOME/.config/mpf/config.json"
77if [ ! -s "$config" ]; then
78 mkdir -p "$(dirname "$config")"
79 cat > "$config" << 'ENDCFG'
80{
81 "Version": 2,
82 "FirstRun": false,
83 "Dumping": {
84 "RedumperPath": "redumper",
85 "AaruPath": "aaru",
86 "DiscImageCreatorPath": "DiscImageCreator"
87 }
88}
89ENDCFG
90fi
91exec /usr/lib/mpf-ui/MPF "$@"
92EOF
93 install -Dm755 "$srcdir/mpf.sh" "$pkgdir/usr/bin/MPF"
94
95 local index width
96 while read -r index width; do
97 magick "MPF.UI/Images/Icon.ico[${index}]" "$srcdir/mpf.png"
98 install -Dm644 "$srcdir/mpf.png" "$pkgdir/usr/share/icons/hicolor/${width}x${width}/apps/mpf.png"
99 done < <(magick identify -format '%p %w\n' MPF.UI/Images/Icon.ico)
100
101 cat > "$srcdir/mpf.desktop" << 'EOF'
102[Desktop Entry]
103Type=Application
104Name=Media Preservation Frontend
105GenericName=Optical disc dumping frontend
106Comment=Graphical frontend for Redumper, Aaru, and DiscImageCreator
107Exec=MPF
108Icon=mpf
109Terminal=false
110Categories=Utility;Archiving;
111EOF
112 install -Dm644 "$srcdir/mpf.desktop" "$pkgdir/usr/share/applications/mpf.desktop"
113 install -Dm644 MPF.Avalonia/MPF.1 "$pkgdir/usr/share/man/man1/MPF.1"
114 install -Dm644 LICENSE "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
115}
116

Scan history

Scanned at (UTC)SeverityRules
2026-10-08 00:28:03 Low 2
2026-10-08 00:07:12 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