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}
6
pkgname=${_appname}
7
pkgdesc="Like less but for Markdown"
8
9
pkgver=0.1.1
10
pkgrel=1
11
_gitversion=v${pkgver}
12
13
arch=('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}"
18
url=${_ghurl}
19
20
license=('MIT')
21
22
makedepends=('make' 'cargo' 'pandoc-cli')
23
provides=("${_appname}")
24
25
options=('!strip')
26
27
source=("${pkgname}-${pkgver}.tgz::${url}/archive/v${pkgver}.tar.gz")
28
sha256sums=('e135edfe9dcf291366e8d232d6e9be901845ba83a369bb4755a22e8839d7fe0f')
29
30
31
prepare() {
32
cd "${pkgname}-${pkgver}" || exit
33
34
cargo update --precise "${pkgver}" --package "${pkgname}"
35
cargo fetch --locked --target "${CARCH}-unknown-linux-gnu"
36
}
37
38
build() {
39
cd "${pkgname}-${pkgver}" || exit
40
41
export CARGO_TARGET_DIR=target
42
cargo build --frozen --release
43
44
make man
45
}
46
47
check() {
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
54
package() {
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) | Severity | Rules |
|---|---|---|
| 2026-08-18 07:39:23 | LOW | 1 |
| 2026-08-18 05:38:33 | LOW | 1 |