void-packages/srcpkgs/font-iosevka/template

23 lines
748 B
Bash

# Template file for 'font-iosevka'
pkgname=font-iosevka
version=1.8.0
revision=1
wrksrc=iosevka
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}/iosevka-${version}.zip"
checksum=3f9365c6135f7ef7fc6f415db4e2b5adb160b47b9d216a13da40e0879a82a50a
do_install() {
vmkdir usr/share/fonts/TTF
vcopy *.ttf usr/share/fonts/TTF
$XBPS_FETCH_CMD https://raw.githubusercontent.com/be5invis/Iosevka/master/LICENSE
vlicense LICENSE
}