void-packages/srcpkgs/font-iosevka/template

24 lines
810 B
Bash

# Template file for 'font-iosevka'
pkgname=font-iosevka
version=2.0.2
revision=1
noarch=yes
create_wrksrc=yes
font_dirs="/usr/share/fonts/TTF"
hostmakedepends="unzip"
depends="font-util"
short_desc="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://raw.githubusercontent.com/be5invis/Iosevka/v${version}/LICENSE.md>LICENSE.txt
https://github.com/be5invis/Iosevka/releases/download/v${version}/ttc-iosevka-${version}.zip"
checksum="a7a0e1da98ab1bae99a1f246f45e51720e0cc13a53b4a5b0692f64991d2191af
03010cc668725e3f40e72fc8c48e4d76f4617714cf2c0e69a7dfdc0a59ef48a8"
do_install() {
vmkdir usr/share/fonts/TTF
vcopy *.ttc usr/share/fonts/TTF
vlicense LICENSE.txt LICENSE.md
}