mc-schem
LOW
maintainer ToKiNoBug
0 votes
scanned 2026-10-24 09:40:04.174424
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: ToKiNoBug <tokinobug@163.com>
2
_pkgname=mc-schem
3
pkgname=${_pkgname}
4
pkgver=1.3.0
5
pkgrel=1
6
pkgdesc="A rust/c++ library to generate, load, manipulate and save minecraft schematic files."
7
arch=('armv7h' 'aarch64' 'x86_64')
8
url="https://github.com/SlopeCraft/mc_schem"
9
license=('GPL-3.0-only')
10
options=(!debug)
11
12
makedepends=(
13
rust # Any rust, either official rust/rustup/rust-nightly is ok
14
cmake
15
gcc
16
)
17
depends=(
18
glibc
19
gcc-libs
20
)
21
optdepends=(
22
)
23
source=(
24
https://github.com/SlopeCraft/mc_schem/releases/download/v1.3.0/mc_schem-v1.3.0.tar.xz
25
001-fix-install.patch
26
)
27
sha512sums=(
28
'94ebcf014a119d3459da8133d9dedb39b368fa76c69bebcd39c6f4933b82225df0d34792906c3ef967dd9e0757c7c9adc305743a2252ecb856738863abccebd2'
29
'ab397956618d5314d614c02bb42441b0b62a4c2c36835111d9fda84910dc6b4ee7c82fd0a1b9d1ac558a7d1bfc7c700eef9902e34cc24a263b8eb74393daa22a'
30
)
31
32
prepare() {
33
cd mc_schem-$pkgver
34
patch -N -p1 -i "$srcdir/001-fix-install.patch"
35
}
36
37
build() {
38
cmake -S mc_schem-$pkgver -B build \
39
-G Ninja \
40
-DCMAKE_BUILD_TYPE=Release \
41
-DCMAKE_INSTALL_PREFIX=/usr \
42
-DMC_SCHEM_ENABLE_TESTS=OFF \
43
44
45
cmake --build build --parallel
46
}
47
48
package() {
49
DESTDIR="$pkgdir" cmake --install build
50
}
51
Scan history
| Scanned at (UTC) | Severity | Rules |
|---|---|---|
| 2026-10-24 09:40:04 | Low | 1 |