blob: 20983475bf0b053a317e2325a53ab4eca08d9b2a (
plain) (
blame)
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
|
# Maintainer: Alexis Starfall <us@starfall.systems>
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
}
|