blob: 53315cbefcb328127b9a2e114366f9aa243f9253 (
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
|
# Maintainer: Johan Förberg <johan@forberg.se>
pkgname=ttf-century-schoolbook
pkgver=r6.84beddf
pkgrel=2
pkgdesc='TTF version of the URW Century Schoolbook L font'
arch=('any')
url='https://github.com/TimothyGu/Century-Schoolbook-L'
license=('GPL2')
makedepends=('fontforge' 'git')
source=('git+https://github.com/TimothyGu/Century-Schoolbook-L.git')
md5sums=('SKIP')
pkgver() {
cd "$srcdir/Century-Schoolbook-L"
printf "r%s.%s" "$(git rev-list --count HEAD)" "$(git rev-parse --short HEAD)"
}
build() {
cd "$srcdir/Century-Schoolbook-L"
make
}
package() {
cd "$srcdir/Century-Schoolbook-L"
mkdir -p "$pkgdir/usr/share/fonts/$pkgname"
cp fonts/*.ttf "$pkgdir/usr/share/fonts/$pkgname"
mkdir -p "$pkgdir/usr/share/licenses/$pkgname/"
sed -n 41,74p README.md >"$pkgdir/usr/share/licenses/$pkgname/LICENSE"
}
|