mdsh
LOW
maintainer marmis
0 votes
scanned 2026-09-02 07:50:36.081104
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: marmis <tiagodepalves@gmail.com>
2
# Contributor: "marmis" Tiago de Paula <tiagodepalves@gmail.com>
3
4
pkgname=mdsh
5
pkgdesc='A markdown shell pre-processor'
6
# Using latest commit from master until the next release.
7
_commit=c78e9090d1450a748d4a21a194d458ee51ad9e7f
8
pkgver=0.9.2.r10.g${_commit:0:7}
9
pkgrel=1
10
url='https://github.com/zimbatm/mdsh'
11
arch=(aarch64 x86_64)
12
license=('MIT')
13
makedepends=('cargo')
14
depends=('glibc' 'libgcc')
15
source=("${pkgname}-${_commit}.tar.gz::${url}/archive/${_commit}.tar.gz")
16
b2sums=('e8a5d7f2913157b780344121833a64ed2a9ac0e6711af9d70c6ab8f31919644f8e300383502a25a2ce9c427e8cf00ad6cfaeee888005f8d3e60e9d73e09434e6')
17
18
prepare() {
19
cd "${pkgname}-${_commit}"
20
21
export RUSTUP_TOOLCHAIN=stable
22
cargo fetch --locked --target host-tuple
23
}
24
25
build() {
26
cd "${pkgname}-${_commit}"
27
28
export RUSTUP_TOOLCHAIN=stable
29
export CARGO_TARGET_DIR=target
30
export CARGO_PROFILE_RELEASE_STRIP=false
31
cargo build --frozen --all-features --release
32
}
33
34
check() {
35
cd "${pkgname}-${_commit}"
36
37
export RUSTUP_TOOLCHAIN=stable
38
cargo test --frozen --all-features
39
}
40
41
package() {
42
cd "${pkgname}-${_commit}"
43
44
install -vD -t "${pkgdir}/usr/bin" -m755 target/release/mdsh
45
install -vD -t "${pkgdir}/usr/share/licenses/${pkgname}" -m644 LICENSE
46
}
47
Scan history
| Scanned at (UTC) | Severity | Rules |
|---|---|---|
| 2026-09-02 07:50:36 | Low | 1 |