blob: f6903d375edec3666328da3eaaa98135b3723465 (
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
|
pkgname=earnestly-font-collection-git
pkgver=0.r16.9ef8993
pkgrel=1
pkgdesc="Collection of Earnestly’s fonts"
arch=('any')
url="https://github.com/Earnestly/fonts"
license=('custom')
provides=('font-fncp6' 'font-fncp7')
conflicts=('font-fncp6' 'font-fncp7')
depends=('fontconfig')
makedepends=('fontforge')
install=fonts.install
source=('git+https://github.com/Earnestly/fonts.git')
sha256sums=('SKIP')
pkgver() {
cd fonts
printf "0.r%s.%s" "$(git rev-list --count HEAD)" "$(git describe --always)"
}
build() {
for font in fncp6 fncp7; do
cd "$srcdir"/fonts/"$font"
make
done
}
package() {
for font in fncp6 fncp7; do
cd "$srcdir"/fonts/"$font"
install -d "$pkgdir"/usr/share/fonts/"$font"
install -m644 *.otf -t "$pkgdir"/usr/share/fonts/"$font"
done
}
|