blob: 20e8e24486c5d4ed13e22537a7fe82fb5501327c (
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
|
# Maintainer: neeshy <neeshy@tfwno.gf>
pkgname=pcf-unifont-extra
pkgver=16.0.02
pkgrel=1
pkgdesc="GNU Unifont Glyphs (PCF version, bold and italic)"
arch=('any')
url="https://unifoundry.com/unifont/index.html"
license=('OFL-1.1 OR GPL-2.0-or-later WITH Font-exception-2.0')
makedepends=('mkbold-mkitalic' 'xorg-bdftopcf')
source=("https://ftp.gnu.org/gnu/unifont/unifont-$pkgver/unifont-$pkgver.bdf.gz"{,.sig}
"https://unifoundry.com/LICENSE.txt")
sha256sums=('521f2b92e8b6bd4ea190cea049a039dde359a6e2cae9458e45d696008fa6997f'
'SKIP'
'1e74cb82bf476843e97c2596297b04219b1a7e51f7238944a8c031cb9401fa87')
validpgpkeys=('95D2E9AB8740D8046387FD151A09227B1F435A33') # Paul Hardy <unifoundry@unifoundry.com>
build() {
cd "$srcdir"
local _type
for _type in bold italic bolditalic; do
"mk$_type" "unifont-$pkgver.bdf" | bdftopcf | gzip -c >"unifont-$_type-$pkgver.pcf.gz"
done
}
package() {
cd "$srcdir"
local _type
for _type in bold italic bolditalic; do
install -Dm644 "unifont-$_type-$pkgver.pcf.gz" \
"$pkgdir/usr/share/fonts/misc/unifont-$_type.pcf.gz"
done
install -Dm644 LICENSE.txt "$pkgdir/usr/share/licenses/$pkgname/LICENSE.txt"
}
|