badness
LOW
maintainer alerque
0 votes
scanned 2026-09-21 11:34:50.247705
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: Caleb Maclennan <caleb@alerque.com>
2
3
pkgname=badness
4
pkgver=0.23.0
5
pkgrel=1
6
pkgdesc='A language server, formatter, and linter for LaTeX'
7
arch=(x86_64)
8
url="https://github.com/jolars/$pkgname"
9
license=(MIT)
10
depends=(glibc # jklibc.so
11
libgcc)
12
makedepends=(cargo)
13
_archive="$pkgname-$pkgver"
14
source=("$url/archive/refs/tags/v$pkgver/$_archive.tar.gz")
15
sha256sums=('6da45215c1a28074dcbb128e59c090cabaeef7a36e584ed8e8c8594303f9c3fa')
16
17
_srcenv() {
18
cd "$_archive"
19
export CARGO_HOME="$srcdir"
20
export CARGO_PROFILE_RELEASE_DEBUG=2
21
export CARGO_PROFILE_RELEASE_STRIP=false
22
export CARGO_PROFILE_RELEASE_LTO=thin
23
export CARGO_PROFILE_RELEASE_CODEGEN_UNITS=1
24
export CARGO_PROFILE_RELEASE_OPT_LEVEL=3
25
CFLAGS+=' -fno-fto'
26
export RUSTUP_TOOLCHAIN=stable
27
export CARGO_TARGET_DIR=target
28
}
29
30
prepare() {
31
_srcenv
32
cargo fetch --locked --target host-tuple
33
}
34
35
build() {
36
_srcenv
37
cargo build --frozen --release
38
}
39
40
check() {
41
_srcenv
42
cargo test --frozen
43
}
44
45
package() {
46
depends+=(libgcc_s.so)
47
cd "$_archive"
48
install -Dm0755 -t "$pkgdir/usr/bin/" "target/release/$pkgname"
49
install -Dm0644 -t "$pkgdir/usr/share/licenses/$pkgname/" LICENSE
50
}
51
Scan history
| Scanned at (UTC) | Severity | Rules |
|---|---|---|
| 2026-09-21 11:34:50 | Low | 1 |