mamepgui
maintainer trya
· 20 votes
· scanned 2026-08-03 00:08:14.047287
LOW
View on AUR ↗
Why flagged
The source is a tarball from a personal server (et6.free.fr), which is not on a standard host whitelist, but it is a legitimate source for this project's own release tarball; the build process compiles from source and does not execute untrusted binaries, so the realistic worst case is limited to supply-chain risk from an unverifiable but plausibly project-owned source.
Triggered rules
LOW
AI review downgraded a static finding
llm_review
The static rules flagged this MEDIUM, but an AI model (qwen/qwen3-235b-a22b-07-25) reviewed the full PKGBUILD and judged it LOW (confidence 95%): The source is a tarball from a personal server (et6.free.fr), which is not on a standard host whitelist, but it is a legitimate source for this project's own release tarball; the build process compiles from source and does not execute untrusted binaries, so the realistic worst case is limited to supply-chain risk from an unverifiable but plausibly project-owned source.
1 higher static finding superseded - not the current verdict (shown for transparency)
MEDIUM
source=() URL on a non-standard host
source_untrusted_domain
One or more source=() URLs point to a host outside the trusted allowlist (github.com, gitlab.com, codeberg.org, pypi.org, …).
-
PKGBUILD:12
source=("http://et6.free.fr/temp/mamepgui-1.6.0.tar.gz"
PKGBUILD
1 offending line(s) highlighted
1
# Maintainer: trya <tryagainprod@gmail.com>
2
3
pkgname=mamepgui
4
pkgver=1.6.0
5
pkgrel=3
6
pkgdesc="Frontend for SDLMAME/SDLMESS based on MAME Plus!"
7
arch=('i686' 'x86_64')
8
url="http://sourceforge.net/projects/mameplus"
9
license=('custom:WTFPL')
10
depends=('qt4' 'quazip-qt4')
11
optdepends=('sdlmame: port of MAME/MESS using SDL')
12
source=("http://et6.free.fr/temp/mamepgui-1.6.0.tar.gz"
13
'COPYING')
14
md5sums=('df681ca55de544a726ea3019e069ed98'
15
'389a9e29629d1f05e115f8f05c283df5')
16
17
prepare() {
18
cd "$srcdir/$pkgname"
19
20
# disable static compilation and SDL 1.3 linking
21
sed -e 's|CONFIG += build_static|#CONFIG += build_static|' \
22
-e 's|CONFIG += build_sdl|#CONFIG += build_sdl|' \
23
-i common_settings.pri
24
25
# use included libraries instead of installed ones
26
sed -e 's|LIBS += -L./lib/$${OSDIR}|QMAKE_LIBDIR += ./lib/$${OSDIR}|' \
27
-e 's|LIBS += -lquazip -llzma|LIBS += -lquazip -llzma -lz|' \
28
-e 's|TARGETDEPS +=|#TARGETDEPS +=|' \
29
-e 's|./lib/$${OSDIR}/libquazip.a|#./lib/$${OSDIR}/libquazip.a|' \
30
-e 's|./lib/$${OSDIR}/liblzma.a|#./lib/$${OSDIR}/liblzma.a|' \
31
-i mamepgui.pro
32
}
33
34
build() {
35
cd "$srcdir/$pkgname"
36
37
# build included liblzma.a (system one is not compatible)
38
cd lzma
39
qmake-qt4
40
make
41
42
# build mamepgui
43
cd ..
44
lrelease-qt4 mamepgui.pro
45
qmake-qt4
46
make
47
}
48
49
package() {
50
cd "$srcdir/$pkgname"
51
52
# install license
53
install -Dm644 "$srcdir/COPYING" "$pkgdir/usr/share/licenses/$pkgname/COPYING"
54
55
# copy documentation
56
install -d "$pkgdir/usr/share/doc/mamepgui"
57
cp docs/* "$pkgdir/usr/share/doc/mamepgui"
58
59
# install executable
60
install -Dm755 bin/mamepgui "$pkgdir/usr/bin/mamepgui"
61
}
62
Scan history
| Scanned at (UTC) | Severity | Rules |
|---|---|---|
| 2026-08-03 00:08:14 | LOW | 2 |
| 2026-08-02 00:16:08 | LOW | 2 |
| 2026-08-01 00:11:18 | LOW | 2 |
| 2026-07-31 00:14:10 | LOW | 2 |
| 2026-07-30 00:17:23 | LOW | 2 |
| 2026-07-29 00:25:53 | LOW | 2 |
| 2026-07-28 00:07:28 | LOW | 2 |
| 2026-07-27 00:24:32 | LOW | 2 |
| 2026-07-26 00:07:32 | LOW | 2 |
| 2026-07-25 00:13:44 | LOW | 2 |
| 2026-07-24 00:02:28 | LOW | 2 |
| 2026-07-23 00:14:47 | LOW | 2 |
| 2026-07-22 00:29:32 | LOW | 2 |
| 2026-07-21 00:24:15 | LOW | 2 |
| 2026-07-20 00:19:49 | LOW | 2 |
| 2026-07-19 00:17:08 | LOW | 2 |
| 2026-07-18 00:14:48 | LOW | 2 |
| 2026-07-17 00:06:16 | LOW | 2 |
| 2026-07-16 00:05:41 | LOW | 2 |
| 2026-07-15 00:09:25 | LOW | 2 |