smb3-foundry
LOW
maintainer fbf-prog64
1 votes
scanned 2026-11-01 05:59:34.516406
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: Felipe BF <fprgw32 at gmail dot com>
2
3
_rawname="SMB3-Foundry"
4
_pkgbase="smb3-foundry"
5
pkgname="${_pkgbase}"
6
pkgver=1.6
7
pkgrel=1
8
pkgdesc="A modern Super Mario Bros. 3 level editor"
9
arch=('any')
10
url="https://github.com/mchlnix/${_rawname}"
11
license=('GPL-3.0-only')
12
provides=(
13
"${_pkgbase}"
14
'smb3-scribe'
15
)
16
conflicts=("${_pkgbase}-git")
17
depends=(
18
'sh'
19
'python'
20
'python-pytest'
21
'python-hypothesis'
22
'pyside6'
23
'python-qdarkstyle'
24
'python-py65'
25
# 'glibc'
26
# 'libgcc'
27
'hicolor-icon-theme'
28
)
29
makedepends=(
30
'git'
31
# 'rust'
32
# 'maturin'
33
# 'python-installer'
34
)
35
36
source=(
37
"git+${url}.git#tag=$pkgver"
38
'smb3-foundry.sh'
39
'smb3-scribe.sh'
40
'smb3-foundry.desktop'
41
'smb3-scribe.desktop'
42
'foundry-icons.tar.gz'
43
'scribe-icons.tar.gz'
44
)
45
46
b2sums=('SKIP'
47
'2032b07037ba80c60d154ac92a380a19ed53cf1b8f312f4a8b896ac3ac6a98eb377d6062f6551830900c4a3fdbd608e75cb1a3d561fdd0c3dc6ef1dd9776fe31'
48
'f3159c38269e17e1222ce219e2b42752f48adb79670073322f63bd1ecff10940154efad759ae04c8fa707c7cc0bf10f0ff2dcb93829545000f71dbc728cb9c17'
49
'7f5033b30e8cf91b6d1652139a450c2aeee4a93a30a5d0f69f93bcc235d941e7b532e0eb84edfb22583af2c7bc1d318565145e8f55dd10a3b076c4330ced7a12'
50
'b93fc5e7953837b8466087c097b7f2fb9e63e714b3da437be53517b57ee519a93d50fca0706ab730c95fbd285982e3e8c9eb7f2f4b739323d04770612ec1850f'
51
'3ecb70bea39dd51848399acab843ad50c4dfb1b5bb3b630e543b777c943e9d07f994224036ba245bafeb3cb4028293e6734901b9300f690fc4d36e10364e250e'
52
'a00917fcd714cac3a064c919bd70404bd90d3dd4399262ff0fd1714b77d5ca2652b6616930f269f2a3f599be20bb50a909773d50f7ee93eaa15a04c95bad0ec2')
53
54
build() {
55
cd "$srcdir/${_rawname}"
56
57
# export RUSTUP_TOOLCHAIN=stable
58
59
# Build the Rust extension modules with maturin
60
# for crate in r6502 rsmb3parse; do
61
# msg2 "Building Rust module: $crate"
62
# (
63
# cd "rust/$crate"
64
# maturin build --release --strip
65
# )
66
# done
67
}
68
69
package() {
70
cd "$srcdir/${_rawname}"
71
72
install -d "$pkgdir/usr/share/${_pkgbase}"
73
74
# 1. Install the main Python application files
75
for f in \
76
foundry smb3parse scribe data doc \
77
VERSION smb3-foundry.py smb3-scribe.py
78
do
79
cp -r "$f" "$pkgdir/usr/share/${_pkgbase}/"
80
done
81
82
# 2. Install the Rust extension wheels into the Python site-packages
83
# for crate in r6502 rsmb3parse; do
84
# msg2 "Installing Python wheel for: $crate"
85
# python -m installer --destdir="$pkgdir" \
86
# "rust/$crate/target/wheels/"*.whl
87
# done
88
89
# 3. Install the license
90
install -Dm644 LICENSE.md "$pkgdir/usr/share/licenses/$pkgname/LICENSE.md"
91
92
cd ..
93
94
# 4. Install the icons
95
for size in 16 22 32 48 64 128 256 512; do
96
local icon_folder="icons/hicolor/${size}x${size}"
97
install -Dm644 "foundry_${size}.png" "${pkgdir}/usr/share/${icon_folder}/apps/smb3-foundry.png"
98
install -Dm644 "scribe_${size}.png" "${pkgdir}/usr/share/${icon_folder}/apps/smb3-scribe.png"
99
done
100
101
cd ..
102
103
# 5. Install launcher scripts in /usr/bin
104
for f in *.sh; do
105
install -Dm755 "$f" "$pkgdir/usr/bin/${f%.*}"
106
done
107
108
# 6. Install the desktop files
109
for f in *.desktop; do
110
install -Dm644 "$f" "${pkgdir}/usr/share/applications/$f"
111
done
112
}
113
114
Scan history
| Scanned at (UTC) | Severity | Rules |
|---|---|---|
| 2026-11-01 05:59:34 | Low | 1 |