blob: 3d0c963fff081c8a19de5941cfd3b17f681f3e00 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
|
# Maintainer: Leo <thinkabit.ukim@gmail.com>
pkgname=nerd-fonts
pkgver=2.1.0
pkgrel=0
pkgdesc="Iconic font aggregator, collection and patcher"
url="https://nerdfonts.com"
arch="noarch"
options="!check" # No testsuite provided
license="MIT"
depends="fontconfig"
subpackages="
font-hermit-nerd:hermit:noarch
font-ia-writer-nerd:writer:noarch
"
source="
Hermit-$pkgver.zip::https://github.com/ryanoasis/nerd-fonts/releases/download/v$pkgver/Hermit.zip
ia-Writer-$pkgver.zip::https://github.com/ryanoasis/nerd-fonts/releases/download/v$pkgver/iA-Writer.zip
"
builddir="$srcdir"
package() {
mkdir -p "$pkgdir"
}
hermit() {
pkgdesc="$pkgdesc (Hermit)"
find . -iname 'Hurmit*.otf' | while read -r otf; do
install -Dm644 "$otf" "$subpkgdir"/usr/share/fonts/OTF/"$otf"
done
}
writer() {
pkgdesc="$pkgdesc (iA Writer)"
find . -iname 'iM Writing*.otf' | while read -r otf; do
install -Dm644 "$otf" "$subpkgdir"/usr/share/fonts/OTF/"$otf"
done
}
sha512sums="caf9026646ea1756c0c3d4f5ef08b2329ce10f6bfeefd7a4c7cfba1ac16c85e08103cd05fe4ba9c34fc6f35bb1a5a8830053dc5f90f153410fec12ef134bf84a Hermit-2.1.0.zip
6fc219e954295fe4cc1a778141aa464f2b08d73def4c3428e875502d7c1cce1f2d5a4f178a83641e1e4b5d5c45eb406f11ab7858723894dd0bf4ec5e08775adf ia-Writer-2.1.0.zip"
|