blob: 8324137137164c8f5cd940ea7916b00f17b1f31d (
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-custom
pkgver=27.3.5
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=('c4a2ec3ec1efae4824a5e644e75df6173a0dc1ed524a4af038760599044c9334'
'584bbb293b8ecf0126b8d09a19f1fd908ff7745095f82d1fbbc0f1e332a3b978')
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
}
|