blob: 86bc3b6b4b3f3025c3092a86704ebdd2e7fc183d (
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
|
# Maintainer: Dan Elkouby <streetwalkermc@gmail.com>
# Contributor: Christian Hesse <mail@eworm.de>
# Contributor: lynix <lynix47@gmail.com>
# Derived from 'dina-font-otb' by Ckat <ckat@teknik.io>
pkgname=terminus-font-ll2-td1-otb
pkgver=4.48
pkgrel=3
pkgdesc='Monospace bitmap font (OTB version) with ll2 patch (pass the il1I test) and td1 patch (centered ascii tilde)'
url='http://terminus-font.sourceforge.net/'
arch=('any')
license=('GPL2' 'custom:OFL')
makedepends=('fontforge')
provides=('terminus-font-otb')
conflicts=('terminus-font-otb')
source=("https://downloads.sourceforge.net/project/terminus-font/terminus-font-$pkgver/terminus-font-$pkgver.tar.gz"
'otbconvert.pe')
sha256sums=('34799c8dd5cec7db8016b4a615820dfb43b395575afbb24fc17ee19c869c94af'
'431999be6be2630a9e8b4bcc5631b6bc727b795978b75cb4c874d9ce143e9703')
prepare() {
cd "terminus-font-$pkgver"
patch < alt/ll2.diff
patch < alt/td1.diff
}
build() {
cd "terminus-font-$pkgver"
../otbconvert.pe *.bdf
}
package() {
cd "terminus-font-$pkgver"
for i in *.otb; do
install -D -m0644 $i "$pkgdir/usr/share/fonts/misc/$i"
done
install -D -m0644 'OFL.TXT' "$pkgdir/usr/share/licenses/${pkgname}/LICENSE"
}
|