ttf-ransom-mono-bin

LOW
maintainer oldjobobo 0 votes scanned 2026-09-22 15:38:25.654840
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: OldJobobo
2# Generated from verified release ZIPs; see docs/aur.md before submitting.
3pkgname=ttf-ransom-mono-bin
4pkgver=0.300
5pkgrel=1
6pkgdesc='Ransom-note monospace font: five families with conventional and Unruly Nerd Fonts icons'
7arch=('any')
8url='https://github.com/ministry-of-taste/ransom-mono'
9license=('OFL-1.1' 'MIT' 'Apache-2.0' 'CC-BY-4.0' 'Unlicense')
10provides=('ttf-ransom-mono' 'ttf-font')
11conflicts=('ttf-ransom-mono')
12options=('!strip' '!debug')
13
14_families=(RansomMono RansomMonoNF RansomMonoNFPropo RansomMonoUnrulyNF RansomMonoUnrulyNFPropo)
15source=()
16noextract=()
17for _family in "${_families[@]}"; do
18 source+=("$url/releases/download/v$pkgver/$_family-$pkgver.zip")
19 noextract+=("$_family-$pkgver.zip")
20done
21sha256sums=(
22 'a15b016f4d7827ff77121e5b162f1ae215d2f77cfb64e95ae4417486ff842cdf'
23 '863607eb5176b20731329b795a068e42ce954cecf696881ef1393c64f493b4fd'
24 'af7cd2cf41da95c0df5941d4a0fa33eddc256ce263d1254687b90139fff8d9a8'
25 'd8667e2dd54205a62351e241075c4f933e772511f4f31020b9986656b28d1bec'
26 '14aeee8cd853e14cb2dbba8164a70a9271203a16037eb7882d5415f25dcc28b0'
27)
28
29prepare() {
30 local family
31 for family in "${_families[@]}"; do
32 mkdir -p "$srcdir/$family"
33 bsdtar -xf "$srcdir/$family-$pkgver.zip" -C "$srcdir/$family"
34 done
35}
36
37package() {
38 local family license_dir doc_dir
39 local -a fonts
40 for family in "${_families[@]}"; do
41 fonts=("$srcdir/$family/ttf/"*.ttf)
42 if (( ${#fonts[@]} != 4 )); then
43 printf 'Expected four TTF styles for %s\n' "$family" >&2
44 return 1
45 fi
46 install -Dm644 -t "$pkgdir/usr/share/fonts/$pkgname" "${fonts[@]}"
47 license_dir="$pkgdir/usr/share/licenses/$pkgname/$family"
48 install -Dm644 "$srcdir/$family/LICENSE" "$license_dir/LICENSE"
49 cp -r "$srcdir/$family/donor-licenses" "$license_dir/"
50 if [[ $family == *NF* ]]; then
51 cp -r "$srcdir/$family/upstream-notices" "$license_dir/"
52 fi
53 doc_dir="$pkgdir/usr/share/doc/$pkgname/$family"
54 install -Dm644 "$srcdir/$family/README.txt" "$doc_dir/README.txt"
55 install -Dm644 "$srcdir/$family/CHANGELOG.md" "$doc_dir/CHANGELOG.md"
56 if [[ -f $srcdir/$family/THIRD_PARTY.md ]]; then
57 install -Dm644 "$srcdir/$family/THIRD_PARTY.md" "$doc_dir/THIRD_PARTY.md"
58 fi
59 done
60}
61

Scan history

Scanned at (UTC)SeverityRules
2026-09-22 15:38:25 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