22 lines
765 B
Bash
22 lines
765 B
Bash
# Template file for 'font-iosevka'
|
|
pkgname=font-iosevka
|
|
version=1.9.2
|
|
revision=1
|
|
create_wrksrc=yes
|
|
noarch="yes"
|
|
font_dirs="/usr/share/fonts/TTF"
|
|
hostmakedepends="unzip"
|
|
depends="font-util xbps-triggers"
|
|
short_desc="A slender monospace sans-serif and slab-serif typeface"
|
|
maintainer="Diogo Leal <diogo@diogoleal.com>"
|
|
license="SIL Open Font License"
|
|
homepage="https://be5invis.github.io/Iosevka/"
|
|
distfiles="https://github.com/be5invis/Iosevka/releases/download/v${version}/01.iosevka-${version}.zip"
|
|
checksum=3bd54db1d4cead876b6ffa882aebc514a07b1c4f9c04bf6eb95861e0f9af9344
|
|
|
|
do_install() {
|
|
vmkdir usr/share/fonts/TTF
|
|
vcopy *.ttf usr/share/fonts/TTF
|
|
$XBPS_FETCH_CMD https://raw.githubusercontent.com/be5invis/Iosevka/v${version}/LICENSE.md
|
|
vlicense LICENSE.md
|
|
}
|