mcpc
LOW
maintainer lloydzhou
0 votes
scanned 2026-09-12 11:11:46.143552
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: Lloyd <lloydzhou@qq.com>
2
3
pkgname=mcpc
4
pkgver=0.2.0
5
pkgrel=1
6
pkgdesc="MCP client CLI with daemon-held sessions (rmcp based)"
7
arch=('x86_64' 'aarch64')
8
url="https://github.com/lloydzhou/mcpc"
9
license=('MIT')
10
depends=('ca-certificates')
11
makedepends=('cargo' 'cmake' 'perl')
12
provides=('mcpc')
13
conflicts=('mcpc-bin')
14
source=("$pkgname-$pkgver.tar.gz::https://github.com/lloydzhou/mcpc/archive/refs/tags/v$pkgver.tar.gz")
15
sha256sums=('ecccc29d1e5fdbac101127b7a54fe5e2208e2d99ee86e3657746f317c83ebadb')
16
# makepkg's -flto in CFLAGS turns ring/aws-lc C objects into LTO bitcode that
17
# rust-lld cannot link against (undefined ring_core_* symbols)
18
options=('!lto')
19
20
prepare() {
21
cd "$pkgname-$pkgver"
22
cargo fetch --locked --target "$CARCH-unknown-linux-gnu"
23
}
24
25
build() {
26
cd "$pkgname-$pkgver"
27
# ring/aws-lc static libs are incompatible with cargo fat LTO on rust-lld
28
export CARGO_PROFILE_RELEASE_LTO=false
29
cargo build --frozen --release
30
}
31
32
package() {
33
cd "$pkgname-$pkgver"
34
install -Dm755 target/release/mcpc "$pkgdir/usr/bin/mcpc"
35
install -Dm644 LICENSE "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
36
}
37
Scan history
| Scanned at (UTC) | Severity | Rules |
|---|---|---|
| 2026-09-12 11:11:46 | Low | 1 |