blob: 1731e0ecab2f621b2de3698f1044cb4692e0e09e (
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
41
42
43
44
45
46
|
# Maintainer: Ralph Torres <mail at ralphptorr dot es>
# Contributor: H. Rosendahl <h at ro dot sendahl dot de>
_pkgname=jost
pkgname=(otf-$_pkgname ttf-$_pkgname ttf-$_pkgname-variable)
pkgbase=$_pkgname-font
pkgver=3.7
pkgrel=3
pkgdesc='A sans-serif font by indestructible type* inspired by 1920s German sans-serifs'
arch=(any)
url=https://indestructibletype.com/Jost
license=(OFL)
_url=https://github.com/indestructible-type/Jost
_commit=6eba3c279d0e3a17dbb891f569625bf0dd91aedb
source=($_url/archive/$_commit.tar.gz)
sha256sums=(a3e712c3d04d4bac1d3b9d6f0ae02b16b4a7a081f369350063741d68a7075de7)
prepare() {
rm -rf $_pkgname-$_commit
mv Jost-$_commit $_pkgname-$_commit
}
package_otf-jost() {
cd "$srcdir"/$_pkgname-$_commit
install -Dm644 -t "$pkgdir"/usr/share/fonts/$_pkgname fonts/otf/*.otf
install -Dm644 -t "$pkgdir"/usr/share/licenses/$pkgname OFL.txt
install -Dm644 -t "$pkgdir"/usr/share/doc/$pkgname \
AUTHORS.txt CONTRIBUTORS.txt FONTLOG.txt README.md
}
package_ttf-jost() {
cd "$srcdir"/$_pkgname-$_commit
install -Dm644 -t "$pkgdir"/usr/share/fonts/$_pkgname fonts/ttf/*.ttf
install -Dm644 -t "$pkgdir"/usr/share/licenses/$pkgname OFL.txt
install -Dm644 -t "$pkgdir"/usr/share/doc/$pkgname \
AUTHORS.txt CONTRIBUTORS.txt FONTLOG.txt README.md
}
package_ttf-jost-variable() {
cd "$srcdir"/$_pkgname-$_commit
install -Dm644 -t "$pkgdir"/usr/share/fonts/$_pkgname fonts/Jost-VF.ttf
install -Dm644 -t "$pkgdir"/usr/share/licenses/$pkgname OFL.txt
install -Dm644 -t "$pkgdir"/usr/share/doc/$pkgname \
AUTHORS.txt CONTRIBUTORS.txt FONTLOG.txt README.md
}
|