# Maintainer: Alexis Starfall pkgname=iosevka-raindrops pkgver=31.4.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=('d6aa7d53d5df92080b88b49e09e132148b5b2e8849260bc56a2b12a45c75aabc' '5c644b699aa00b5e6072e5ffc38f41d720f5059d69080625ff44778ca156a6d5') prepare() { cp private-build-plans.toml Iosevka-$pkgver/private-build-plans.toml } build() { cd Iosevka-$pkgver npm install npm run build -- ttf::$pkgname } package() { cd Iosevka-$pkgver install -d $pkgdir/usr/share/fonts/TTF install -m644 dist/$pkgname/TTF/*.ttf $pkgdir/usr/share/fonts/TTF/ install -Dm644 LICENSE.md $pkgdir/usr/share/licenses/$pkgname/LICENSE }