mc-schem

LOW
maintainer ToKiNoBug 0 votes scanned 2026-10-24 09:40:04.174424
View on AUR
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
3pkgname=${_pkgname}
4pkgver=1.3.0
5pkgrel=1
6pkgdesc="A rust/c++ library to generate, load, manipulate and save minecraft schematic files."
7arch=('armv7h' 'aarch64' 'x86_64')
8url="https://github.com/SlopeCraft/mc_schem"
9license=('GPL-3.0-only')
10options=(!debug)
11
12makedepends=(
13 rust # Any rust, either official rust/rustup/rust-nightly is ok
14 cmake
15 gcc
16)
17depends=(
18 glibc
19 gcc-libs
20)
21optdepends=(
22)
23source=(
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)
27sha512sums=(
28 '94ebcf014a119d3459da8133d9dedb39b368fa76c69bebcd39c6f4933b82225df0d34792906c3ef967dd9e0757c7c9adc305743a2252ecb856738863abccebd2'
29 'ab397956618d5314d614c02bb42441b0b62a4c2c36835111d9fda84910dc6b4ee7c82fd0a1b9d1ac558a7d1bfc7c700eef9902e34cc24a263b8eb74393daa22a'
30)
31
32prepare() {
33 cd mc_schem-$pkgver
34 patch -N -p1 -i "$srcdir/001-fix-install.patch"
35}
36
37build() {
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
48package() {
49 DESTDIR="$pkgdir" cmake --install build
50}
51

Scan history

Scanned at (UTC)SeverityRules
2026-10-24 09:40:04 Low 1

Report a package

Reports go to the AURWatch maintainer (one person) and are read by hand. No login required.

0 / 4000
Your suggestion