mia-code-git
LOW
maintainer Small_Fox
0 votes
scanned 2026-09-18 13:28:45.324347
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
# This is an example PKGBUILD file. Use this as a start to creating your own,
2
# and remove these comments. For more information, see 'man PKGBUILD'.
3
# NOTE: Please fill out the license field for your package! If it is unknown,
4
# then please put 'unknown'.
5
6
# Maintainer: Small_Fox <smallfox0305@gmail.com>
7
pkgname=mia-code-git
8
_pkgFullName=MiaCode
9
pkgver=1.0.0.r889.g46e10c1e
10
pkgrel=1
11
epoch=
12
pkgdesc="A Simai editor built for professional chart creators"
13
arch=('x86_64')
14
url="https://github.com/fanfaredash/MiaCode"
15
license=('MIT')
16
groups=()
17
depends=(
18
'ffmpeg'
19
'libva'
20
'qt6-base'
21
'qt6-declarative'
22
'qt6-multimedia'
23
'qt6-quick3d'
24
'qt6-shadertools'
25
'libxkbcommon'
26
'libglvnd'
27
'libdrm'
28
'libgcc'
29
'libstdc++'
30
'glibc'
31
'hicolor-icon-theme'
32
)
33
makedepends=(
34
'git'
35
'cmake'
36
'ninja'
37
)
38
checkdepends=()
39
optdepends=()
40
provides=()
41
conflicts=()
42
replaces=()
43
backup=()
44
options=()
45
install=
46
changelog=
47
source=("git+$url.git")
48
noextract=()
49
sha256sums=('SKIP')
50
validpgpkeys=()
51
52
pkgver() {
53
cd "$_pkgFullName"
54
git describe --long --tags --always |
55
sed 's/^v//;s/\([^-]*-g\)/r\1/;s/-/./g'
56
}
57
58
prepare() {
59
cd "$_pkgFullName"
60
git checkout feature/qml-ui
61
cmake -B build \
62
-G "Ninja Multi-Config" \
63
-DCMAKE_BUILD_WITH_INSTALL_RPATH=ON \
64
-DCMAKE_INSTALL_RPATH='$ORIGIN' \
65
-DCMAKE_EXE_LINKER_FLAGS="-Wl,-z,relro,-z,now"
66
}
67
68
build() {
69
cd "$_pkgFullName"
70
cmake --build build --config Release -j$(nproc)
71
}
72
73
package() {
74
75
install -Dm644 "$_pkgFullName/resources/icons/app.png" \
76
"$pkgdir/usr/share/icons/hicolor/256x256/apps/MiaCode.png"
77
78
install -Dm644 "$_pkgFullName/resources/icons/app.ico" \
79
"$pkgdir/usr/share/icons/hicolor/256x256/apps/MiaCode.ico"
80
81
install -Dm644 "$_pkgFullName/LICENSE" \
82
"$pkgdir/usr/share/licenses/$pkgname/LICENSE"
83
84
cd "$_pkgFullName/build/bin/Release"
85
86
install -dm755 "$pkgdir/usr/lib/micode"
87
88
install -Dm755 MiaCode \
89
"$pkgdir/usr/lib/micode/MiaCode"
90
91
install -Dm644 libbass.so \
92
"$pkgdir/usr/lib/micode/libbass.so"
93
94
install -Dm644 libbassmix.so \
95
"$pkgdir/usr/lib/micode/libbassmix.so"
96
97
install -Dm644 libbass_fx.so \
98
"$pkgdir/usr/lib/micode/libbass_fx.so"
99
100
cp -a assets "$pkgdir/usr/lib/micode/"
101
102
install -dm755 "$pkgdir/usr/bin"
103
104
install -dm755 "$pkgdir/usr/share/applications"
105
106
cat > "$pkgdir/usr/share/applications/MiaCode.desktop" <<'EOF'
107
[Desktop Entry]
108
Name=MiaCode
109
Comment=MiaCode
110
Exec=MiaCode
111
Icon=MiaCode
112
Terminal=false
113
Type=Application
114
Categories=Game;ArcadeGame;
115
EOF
116
117
cat > "$pkgdir/usr/bin/MiaCode" <<'EOF'
118
#!/bin/sh
119
exec /usr/lib/micode/MiaCode "$@"
120
EOF
121
122
chmod 755 "$pkgdir/usr/bin/MiaCode"
123
}
124
Scan history
| Scanned at (UTC) | Severity | Rules |
|---|---|---|
| 2026-09-18 13:28:45 | Low | 1 |