void-packages/srcpkgs/font-iosevka/template

25 lines
813 B
Bash

# Template file for 'font-iosevka'
pkgname=font-iosevka
version=2.2.0
revision=1
archs=noarch
create_wrksrc=yes
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="ecfd74a1d6749bf509cee122870da0186bccfae446e3f6bc5faff253577ab000
1df811061e7539be9b0a67d25300700ad7fa2621d6899f5025840738afd94e92"
font_dirs="/usr/share/fonts/TTF"
do_install() {
vmkdir usr/share/fonts/TTF
vcopy *.ttc usr/share/fonts/TTF
vlicense LICENSE.txt LICENSE.md
}