blob: 8134c19a807dd4493225a7c7b6a436aa6eda91b7 (
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
|
# Contributor: Jakub Jirutka <jakub@jirutka.cz>
# Maintainer: Jakub Jirutka <jakub@jirutka.cz>
pkgname=font-bakoma
pkgver=1
pkgrel=0
pkgdesc="Computer Modern fonts"
url="https://ctan.org/tex-archive/fonts/cm/ps-type1/bakoma"
arch="noarch"
license="custom"
depends="fontconfig $pkgname-ttf"
subpackages="$pkgname-doc $pkgname-otf $pkgname-ttf"
source="http://mirrors.ctan.org/fonts/cm/ps-type1/bakoma.zip"
builddir="$srcdir/bakoma"
options="!check" # fonts don't have tests
_fontsdir="usr/share/fonts/bakoma"
package() {
cd "$builddir"
install -D -m 644 LICENCE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
mkdir -p "$pkgdir"/usr/share/doc/$pkgname
cp BaKoMa-*.Fonts README.news "$pkgdir"/usr/share/doc/$pkgname/
}
otf() {
pkgdesc="$pkgdesc in OpenType format"
mkdir -p "$subpkgdir"/$_fontsdir
cp "$builddir"/otf/* "$subpkgdir"/$_fontsdir/
}
ttf() {
pkgdesc="$pkgdesc in TrueType format"
mkdir -p "$subpkgdir"/$_fontsdir
cp "$builddir"/ttf/* "$subpkgdir"/$_fontsdir/
}
sha512sums="dc38832f77d4d2daa275b046310f9b263b46a24c884402a113a3ef83ee7514c55a76b7cd299e811ace88c6f9c68ef5705b1846d42522304660d7fede348a3d6f bakoma.zip"
|