mdmost

maintainer Dominiquini · 1 votes · scanned 2026-08-18 07:39:23.787586
LOW
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: Rafael Dominiquini <rafaeldominiquini at gmail dot com>
2
3_gitauthor=oetiker
4_gitname=mdmost
5_appname=${_gitname}
6pkgname=${_appname}
7pkgdesc="Like less but for Markdown"
8
9pkgver=0.1.1
10pkgrel=1
11_gitversion=v${pkgver}
12
13arch=('x86_64' 'aarch64')
14_barch=('x86_64-unknown-linux-musl' 'aarch64-unknown-linux-musl')
15
16_ghurl="https://github.com/${_gitauthor}/${_gitname}"
17_ghurlraw="https://raw.githubusercontent.com/${_gitauthor}/${_gitname}/${_gitversion}"
18url=${_ghurl}
19
20license=('MIT')
21
22makedepends=('make' 'cargo' 'pandoc-cli')
23provides=("${_appname}")
24
25options=('!strip')
26
27source=("${pkgname}-${pkgver}.tgz::${url}/archive/v${pkgver}.tar.gz")
28sha256sums=('e135edfe9dcf291366e8d232d6e9be901845ba83a369bb4755a22e8839d7fe0f')
29
30
31prepare() {
32 cd "${pkgname}-${pkgver}" || exit
33
34 cargo update --precise "${pkgver}" --package "${pkgname}"
35 cargo fetch --locked --target "${CARCH}-unknown-linux-gnu"
36}
37
38build() {
39 cd "${pkgname}-${pkgver}" || exit
40
41 export CARGO_TARGET_DIR=target
42 cargo build --frozen --release
43
44 make man
45}
46
47check() {
48 cd "${pkgname}-${pkgver}" || exit
49
50 export CARGO_TARGET_DIR=target
51 cargo test --frozen --release -- --skip generated_documents_render_at_any_width
52}
53
54package() {
55 cd "${pkgname}-${pkgver}" || exit
56
57 install -Dm755 "target/release/${_appname}" "${pkgdir}/usr/bin/${_appname}"
58
59 install -Dm644 "man/${_appname}.1" "${pkgdir}/usr/share/man/man1/${_appname}.1"
60
61 install -Dm644 "README.md" "${pkgdir}/usr/share/doc/${pkgname}/README.md"
62
63 install -Dm644 "LICENSE" "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
64}
65

Scan history

Scanned at (UTC)SeverityRules
2026-08-18 07:39:23 LOW 1
2026-08-18 05:38:33 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