ttf-bawue

LOW
maintainer nomisge 0 votes base bawue-fonts scanned 2026-11-04 12:07:05.127509
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: nomisge <nomisge @ live . de>
2pkgbase=bawue-fonts
3pkgname=('ttf-bawue' 'otf-bawue')
4pkgver=1.0
5pkgrel=1
6pkgdesc='BaWue-FontFamily'
7arch=('any')
8url='https://design.landbw.de/corporate-design/basiselemente/typografie'
9license=('unknown')
10makedepends=('unzip')
11# Users must provide BaWue.zip themselves.
12# Place it in the same directory as this PKGBUILD before running makepkg.
13
14prepare() {
15 local zipfile="$startdir/BaWue.zip"
16
17 if [[ ! -f "$zipfile" ]]; then
18 error "BaWue.zip not found. Place it next to the PKGBUILD before running makepkg."
19 return 1
20 fi
21
22 unzip -q "$zipfile" -d "$srcdir"
23
24 if [[ ! -d "$srcdir/bawue" ]]; then
25 error "BaWue.zip does not contain directory 'bawue/' directory."
26 return 1
27 fi
28}
29
30_install_font_format() {
31 local extension="$1"
32 local package_name="$2"
33 local file rel
34 local -a files=()
35
36 mapfile -d '' -t files < <(
37 find "$srcdir/bawue" -type f -iname "*.${extension}" -print0
38 )
39
40 if (( ${#files[@]} == 0 )); then
41 error "No .$extension-files in 'bawue/'."
42 return 1
43 fi
44
45 for file in "${files[@]}"; do
46 rel=${file#"$srcdir/bawue/"}
47 install -Dm644 "$file" "$pkgdir/usr/share/fonts/$package_name/$rel"
48 done
49}
50
51package_ttf-bawue() {
52 _install_font_format 'ttf' 'ttf-bawue'
53}
54
55package_otf-bawue() {
56 _install_font_format 'otf' 'otf-bawue'
57}
58
59

Scan history

Scanned at (UTC)SeverityRules
2026-11-04 12:07:05 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