blob: 8047e7cddb09a0d939583f57d48a23aa244f23b7 (
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
|
# Maintainer: Márcio Silva <coadde@hyperbola.info>
pkgname=ttf-free-comic-font
pkgver=0.03.2
pkgrel=1.1
url='https://github.com/arthursucks/opencomicfont'
pkgdesc='Free Comic Font'
license=('LGPL3' 'BSD-3' 'CCPL:by-3')
arch=('any')
depends=('fontconfig' 'xorg-font-utils')
makedepends=('fontforge')
provides=('ttf-font')
source=("$url/raw/master/version_${pkgver}_source.tar.gz" 'makefont.pe')
sha256sums=('c3356d1755f898df031dc21e48c673bfe94f257f0aa296cc44fa696be0ce9798'
'294da954e6628944ec731a99b542ba3c3e2d79eec4c0bc59fa3075d9cfc9b326')
install=install
prepare() {
cd "$srcdir"
rm OpenComicFont.ttf
mv {Open,Free}ComicFont.sfd
sed -i 's|Open|Free|
' FreeComicFont.sfd
}
build() {
cd "$srcdir"
./makefont.pe FreeComicFont.sfd
}
package() {
cd "$srcdir"
install -dm755 "${pkgdir}"/usr/share/fonts/TTF
install -m644 *.ttf "${pkgdir}"/usr/share/fonts/TTF
install -Dm644 README.txt "${pkgdir}"/usr/share/licenses/"${pkgname}"/README
}
|