From c9701a93aa8400874b545e8d0efbfaf1bcf7aab8 Mon Sep 17 00:00:00 2001 From: Starfall Date: Sat, 21 Oct 2023 15:29:25 -0500 Subject: iosevka --- iosevka/PKGBUILD | 30 +++++++++++++++++ iosevka/private-build-plans.toml | 72 ++++++++++++++++++++++++++++++++++++++++ 2 files changed, 102 insertions(+) create mode 100644 iosevka/PKGBUILD create mode 100644 iosevka/private-build-plans.toml (limited to 'iosevka') diff --git a/iosevka/PKGBUILD b/iosevka/PKGBUILD new file mode 100644 index 0000000..bc1e817 --- /dev/null +++ b/iosevka/PKGBUILD @@ -0,0 +1,30 @@ +# Maintainer: Alexis Starfall +pkgname=iosevka-custom +pkgver=27.3.0 +pkgrel=1 +pkgdesc="custom Iosevka build" +arch=('any') +url="https://typeof.net/Iosevka" +license=('OFL') +makedepends=('nodejs' 'ttfautohint') +source=("https://github.com/be5invis/Iosevka/archive/refs/tags/v${pkgver}.tar.gz" + "private-build-plans.toml") +sha256sums=("34c0846e557d48a6167f1cf6818a51c096088bd17de22257738997c60115d13e" + "7100fd9a142b00a3f3d858ba34b8eaea329358816fff3e605bf1c0e05ec16821") + +prepare() { + cp private-build-plans.toml Iosevka-$pkgver/private-build-plans.toml +} + +build() { + cd Iosevka-$pkgver + npm install + npm run build -- ttf::iosevka-starfall +} + +package() { + cd Iosevka-$pkgver + install -d $pkgdir/usr/share/fonts/TTF + install -m644 dist/iosevka-starfall/ttf/*.ttf $pkgdir/usr/share/fonts/TTF/ + install -Dm644 LICENSE.md $pkgdir/usr/share/licenses/$pkgname/LICENSE +} diff --git a/iosevka/private-build-plans.toml b/iosevka/private-build-plans.toml new file mode 100644 index 0000000..badfd88 --- /dev/null +++ b/iosevka/private-build-plans.toml @@ -0,0 +1,72 @@ +[buildPlans.iosevka-starfall] +family = "Iosevka Starfall" +spacing = "term" +serifs = "sans" +no-cv-ss = true +export-glyph-names = false + + [buildPlans.iosevka-starfall.variants] + inherits = "ss20" + + [buildPlans.iosevka-starfall.variants.design] + capital-b = "more-asymmetric-serifless" + capital-i = "serifed" + capital-j = "serifless" + capital-q = "crossing" + capital-z = "curly-serifless-with-horizontal-crossbar" + f = "flat-hook-serifless" + i = "hooky" + j = "serifless" + l = "flat-tailed" + t = "flat-hook-short-neck" + z = "curly-serifless-with-horizontal-crossbar" + lower-delta = "flat-top" + zero = "dotted" + three = "flat-top" + seven = "curly-serifless-crossbar" + eight = "two-circles" + punctuation-dot = "round" + asterisk = "penta-mid" + brace = "curly-flat-boundary" + dollar = "through-cap" + percent = "rings-continuous-slash" + question = "corner-flat-hooked" + cent = "through-cap" + lig-neq = "slightly-slanted-dotted" + + [buildPlans.iosevka-starfall.ligations] + inherits = "dlig" + +[buildPlans.iosevka-starfall.weights.thin] +shape = 100 +menu = 100 +css = 100 + +[buildPlans.iosevka-starfall.weights.regular] +shape = 400 +menu = 400 +css = 400 + +[buildPlans.iosevka-starfall.weights.bold] +shape = 700 +menu = 700 +css = 700 + +[buildPlans.iosevka-starfall.widths.normal] +shape = 600 +menu = 5 +css = "normal" + +[buildPlans.iosevka-starfall.slopes.upright] +angle = 0 +shape = "upright" +menu = "upright" +css = "normal" + +[buildPlans.iosevka-starfall.slopes.oblique] +angle = 9.4 +shape = "oblique" +menu = "oblique" +css = "oblique" + + -- cgit