mc3000-mcp
LOW
maintainer nietonchique
0 votes
scanned 2026-10-23 15:37:50.087015
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: nietonchique <nietonchique@users.noreply.github.com>
2
3
pkgname=mc3000-mcp
4
pkgver=0.2.0
5
pkgrel=1
6
pkgdesc='Safe MCP server for SKYRC MC3000-compatible battery chargers over Bluetooth LE'
7
arch=('x86_64')
8
url='https://github.com/nietonchique/mc3000-mcp'
9
license=('Apache-2.0')
10
depends=('dbus' 'gcc-libs')
11
makedepends=('cargo')
12
optdepends=('bluez: Bluetooth adapter support (BlueZ over D-Bus)')
13
source=("${pkgname}-${pkgver}.tar.gz::https://github.com/nietonchique/mc3000-mcp/archive/refs/tags/v${pkgver}.tar.gz")
14
b2sums=('b2b86e8ccfbcdd836c7eb132c2c2dcbc4b4faa72f8d4184cc2d5a755b28d673813aa9c1413cbb6811b8c1807083ebbefd16a7c834db7da275e125df6b68dfaaf')
15
16
prepare() {
17
cd "${pkgname}-${pkgver}"
18
export RUSTUP_TOOLCHAIN=stable
19
cargo fetch --locked --target "$(rustc -vV | sed -n 's/^host: //p')"
20
}
21
22
build() {
23
cd "${pkgname}-${pkgver}"
24
export RUSTUP_TOOLCHAIN=stable
25
cargo build --frozen --release --all-features
26
}
27
28
check() {
29
cd "${pkgname}-${pkgver}"
30
export RUSTUP_TOOLCHAIN=stable
31
cargo test --frozen --all-features
32
}
33
34
package() {
35
cd "${pkgname}-${pkgver}"
36
install -Dm0755 "target/release/${pkgname}" "${pkgdir}/usr/bin/${pkgname}"
37
install -Dm0644 LICENSE "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
38
install -Dm0644 README.md "${pkgdir}/usr/share/doc/${pkgname}/README.md"
39
install -Dm0644 skill/SKILL.md "${pkgdir}/usr/share/doc/${pkgname}/skill/SKILL.md"
40
install -Dm0644 -t "${pkgdir}/usr/share/doc/${pkgname}/skill/checklists" skill/checklists/*.md
41
install -Dm0644 -t "${pkgdir}/usr/share/doc/${pkgname}/skill/profiles" skill/profiles/*.json
42
}
43
Scan history
| Scanned at (UTC) | Severity | Rules |
|---|---|---|
| 2026-10-23 15:37:50 | Low | 1 |