diff options
author | Oleg Shparber | 2020-09-10 18:28:40 -0400 |
---|---|---|
committer | Oleg Shparber | 2020-09-10 18:28:40 -0400 |
commit | 7057e3b30b9d3842d37ce384c0edbee9e16c58fd (patch) | |
tree | 4b28a4426f52f50927cdad34ba624dd07b6fa339 | |
parent | 52ac30149243e217de1facdbf7c9947701af2f80 (diff) | |
download | aur-7057e3b30b9d3842d37ce384c0edbee9e16c58fd.tar.gz |
Compile static OTF fonts due to a bug in psautohint
See https://github.com/adobe-type-tools/psautohint/issues/40
-rw-r--r-- | .SRCINFO | 2 | ||||
-rw-r--r-- | PKGBUILD | 6 |
2 files changed, 4 insertions, 4 deletions
@@ -1,7 +1,7 @@ pkgbase = cascadia-code-git pkgdesc = A new monospaced font that includes programming ligatures pkgver = 2008.25.r1.gc6492c66 - pkgrel = 1 + pkgrel = 2 url = https://github.com/microsoft/cascadia-code arch = any license = custom:OFL @@ -4,7 +4,7 @@ _gitname=cascadia-code pkgbase=cascadia-code-git pkgname=("otf-${pkgbase}" "ttf-${pkgbase}") pkgver=2008.25.r1.gc6492c66 -pkgrel=1 +pkgrel=2 pkgdesc="A new monospaced font that includes programming ligatures" url="https://github.com/microsoft/${_gitname}" arch=('any') @@ -26,12 +26,12 @@ build() { python -m venv .venv source .venv/bin/activate pip install -r requirements.txt - python build.py + python build.py -S } package_otf-cascadia-code-git() { cd "${_gitname}" - install -Dm644 build/*.otf -t "$pkgdir"/usr/share/fonts/OTF + install -Dm644 build/static/*.otf -t "$pkgdir"/usr/share/fonts/OTF install -Dm644 LICENSE "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE" } |