blob: f9095eede7531b4f94dbd0bd591d819f6c1ac13d (
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
|
# Maintainer: Shohei Maruyama <cheat.sc.linux@outlook.com>
pkgname=ttf-juisee
pkgver=0.2.0
pkgrel=1
pkgdesc='A font family for programming synthesized JuliaMono and LINE Seed JP'
arch=('any')
url='https://github.com/yuru7/juisee'
license=('custom:OFL')
provides=('ttf-font')
makedepends=('fontforge' 'python-fonttools' 'python-ttfautohint-py' 'python-setuptools')
source=("${pkgname}-${pkgver}.tar.gz::https://github.com/yuru7/juisee/archive/refs/tags/v${pkgver}.tar.gz")
sha256sums=('d19deaec6be423ba4c8832f73ebbb6664e4c46d200ed38a8eb940c2192f4fb50')
build() {
cd "juisee-${pkgver}"
fontforge --lang=py -script fontforge_script.py --slashed-zero --invisible-zenkaku-space
find build -type f -name '*.ttf' -exec python -m ttfautohint --dehint --no-info {} {} \;
python ./fonttools_script.py
}
package() {
cd "juisee-${pkgver}"
find build -type f -name '*.ttf' -exec install -Dm644 {} -t "${pkgdir}/usr/share/fonts/juisee" \;
install -Dm644 LICENSE -t "${pkgdir}/usr/share/licenses/${pkgname}"
}
|