mdbook-toc
MEDIUM
maintainer agony4001
1 votes
scanned 2026-11-01 14:00:44.307000
Why flagged
This package was orphaned and re-adopted within the last 30 days — a window where ownership transfers can introduce malicious changes.
Triggered rules
Medium
Recently orphaned & re-adopted
orphaned_readopted
This package was orphaned and re-adopted within the last 30 days — a window where ownership transfers can introduce malicious changes.
PKGBUILD
1
# Maintainer: zjuyk <ownbyzjuyk@gmail.com>
2
pkgname=mdbook-toc
3
pkgver=0.14.2
4
pkgrel=1
5
pkgdesc="A preprocessor for mdbook to add inline Table of Contents support."
6
arch=('x86_64')
7
url="https://github.com/badboy/mdbook-toc"
8
license=('MPL-2.0')
9
makedepends=('cargo')
10
source=("$pkgname-$pkgver.tar.gz"::$url/archive/refs/tags/$pkgver.tar.gz)
11
sha256sums=('a944239bf9e5e985e8403caa7fe6b89a9fbd5ecbb56c342805f2de91ac88c6ce')
12
13
build() {
14
cd "$pkgname-$pkgver"
15
cargo build --release
16
}
17
18
check() {
19
cd "$pkgname-$pkgver"
20
cargo test --release
21
}
22
23
package() {
24
cd "$pkgname-$pkgver"
25
install -Dm755 "target/release/$pkgname" -t "$pkgdir/usr/bin"
26
install -Dm644 "LICENSE" "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
27
}
28
Scan history
| Scanned at (UTC) | Severity | Rules |
|---|---|---|
| 2026-11-01 14:00:44 | Medium | 1 |
| 2026-06-18 16:11:54 | Clean | 0 |