ttf-bawue
LOW
maintainer nomisge
0 votes
base
bawue-fonts
scanned 2026-11-04 12:07:05.127509
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>
2
pkgbase=bawue-fonts
3
pkgname=('ttf-bawue' 'otf-bawue')
4
pkgver=1.0
5
pkgrel=1
6
pkgdesc='BaWue-FontFamily'
7
arch=('any')
8
url='https://design.landbw.de/corporate-design/basiselemente/typografie'
9
license=('unknown')
10
makedepends=('unzip')
11
# Users must provide BaWue.zip themselves.
12
# Place it in the same directory as this PKGBUILD before running makepkg.
13
14
prepare() {
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
51
package_ttf-bawue() {
52
_install_font_format 'ttf' 'ttf-bawue'
53
}
54
55
package_otf-bawue() {
56
_install_font_format 'otf' 'otf-bawue'
57
}
58
59
Scan history
| Scanned at (UTC) | Severity | Rules |
|---|---|---|
| 2026-11-04 12:07:05 | Low | 1 |