void-packages/srcpkgs/font-iosevka/template

23 lines
752 B
Bash

# Template file for 'font-iosevka'
pkgname=font-iosevka
version=1.14.3
revision=1
noarch=yes
create_wrksrc=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="OFL-1.1"
homepage="https://be5invis.github.io/Iosevka/"
distfiles="https://github.com/be5invis/Iosevka/releases/download/v${version}/iosevka-pack-${version}.zip"
checksum=01f3e5d4f8c87dadd1a4fb50d63d59aeaa27e7f7fcf6cb23bcc99e1419d77345
do_install() {
vmkdir usr/share/fonts/TTF
vcopy *.ttc usr/share/fonts/TTF
$XBPS_FETCH_CMD https://raw.githubusercontent.com/be5invis/Iosevka/v${version}/LICENSE.md
vlicense LICENSE.md
}