g3m-git
maintainer tails1154
· 1 votes
· scanned 2026-08-03 00:08:14.047287
LOW
View on AUR ↗
Why flagged
The package builds from a legitimate project source (GitHub) and includes a prebuilt PyInstaller wheel from a trusted Python index, but the 'few votes, recently uploaded' flag indicates low community trust, not technical 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 builds from a legitimate project source (GitHub) and includes a prebuilt PyInstaller wheel from a trusted Python index, but the 'few votes, recently uploaded' flag indicates low community trust, not technical risk.
PKGBUILD
1
pkgname=g3m-git
2
pkgver=3.3.0.r1.g2cce134
3
pkgrel=5
4
pkgdesc="GameMaker mod manager (runs directly from Python source)"
5
arch=('x86_64')
6
url="https://github.com/y114git/G3M"
7
license=('GPL-3.0-only')
8
depends=(
9
'python>=3.14'
10
'python-pyqt6'
11
'python-defusedxml'
12
'python-psutil'
13
'python-py7zr'
14
'python-dotenv'
15
'python-rarfile'
16
'python-requests'
17
'python-urllib3'
18
)
19
makedepends=(
20
'git'
21
'python-build'
22
'python-installer'
23
'python-setuptools'
24
'python-wheel'
25
)
26
provides=('g3m')
27
conflicts=('g3m')
28
options=('!strip')
29
source=(
30
'G3M::git+https://github.com/y114git/G3M.git'
31
'G3M-Linux-3.3.0.zip::https://github.com/y114git/G3M/releases/download/3.3.0/G3M-Linux-3.3.0.zip'
32
'https://files.pythonhosted.org/packages/9f/09/51b8905714b733bac66dbc041a7821372d70d888d273ae474c4037d4202d/pyinstaller-6.21.0-py3-none-manylinux2014_x86_64.whl'
33
'https://files.pythonhosted.org/packages/6b/93/39f2296a69fe2c70dcc9b9724147ffc9d7f676f67eb3cbad3baa725ae32d/playsound3-3.3.1.tar.gz'
34
'extract-g3mtool.py'
35
'avoid-rechmod.patch'
36
'fix-linux-protocol-registration.patch'
37
'g3m'
38
'g3m.desktop'
39
)
40
sha256sums=(
41
'SKIP'
42
'e47e5ca988da9be72a96c356d91e2ad0c22951b01ad36fadbef50eb4dac95541'
43
'605169523a6b5ace39f13dfbff21add9f2bc43df99c7daf9394fefb2c45e8b6f'
44
'3f0eb87d5ff2061d07663c4b010b8e7d66c274344712b01d561a0a73447ef41d'
45
'f58c452cd9bbb9a62fda48690c04f2c2e96f87e983cfbfc51e4a3f781619a371'
46
'9e3b337fc864f5da3404307c91e1e7205dc06650fbf6283351f04d7a9e9c8e0f'
47
'5a19030c21a9ebab86f3afa612bbbd6710bcb1ac93d917d07f8396295c518ed1'
48
'd6aba76579f9146fa1b86cd5cda8d0a7f7482c9e223760a91453a9ba0bdf106f'
49
'2d964b0a38639f1b8a4c42ab506cf2e3295865804245dba71a63f6055140b663'
50
)
51
52
pkgver() {
53
cd G3M
54
git describe --long --tags --abbrev=7 | sed 's/^v//;s/-/.r/;s/-/./'
55
}
56
57
prepare() {
58
patch -d G3M -p1 < avoid-rechmod.patch
59
patch -d G3M -p1 < fix-linux-protocol-registration.patch
60
mkdir -p pyinstaller-wheel
61
bsdtar -xf pyinstaller-6.21.0-py3-none-manylinux2014_x86_64.whl \
62
-C pyinstaller-wheel
63
}
64
65
build() {
66
cd "playsound3-3.3.1"
67
python -m build --wheel --no-isolation
68
}
69
70
package() {
71
python -m installer --destdir="$pkgdir" playsound3-3.3.1/dist/*.whl
72
73
install -d "$pkgdir/usr/lib/g3m"
74
cp -a G3M/src/. "$pkgdir/usr/lib/g3m/"
75
find "$pkgdir/usr/lib/g3m" -type d -name __pycache__ -prune -exec rm -r {} +
76
rm -rf "$pkgdir/usr/lib/g3m/G3M.egg-info"
77
78
PYTHONPATH=pyinstaller-wheel python extract-g3mtool.py \
79
archive_content/G3M \
80
"$pkgdir/usr/lib/g3m/assets/bin/g3mtool_linux"
81
chmod 755 "$pkgdir/usr/lib/g3m/assets/bin/g3mtool_linux/G3MTool"
82
83
install -Dm755 g3m "$pkgdir/usr/bin/g3m"
84
install -Dm644 g3m.desktop "$pkgdir/usr/share/applications/g3m.desktop"
85
install -Dm644 G3M/src/assets/icons/icon.ico "$pkgdir/usr/share/pixmaps/g3m.ico"
86
install -Dm644 G3M/LICENSE "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
87
}
88
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 01:17:03 | LOW | 2 |