void-packages/srcpkgs/font-iosevka/template

27 lines
978 B
Bash

# Template file for 'font-iosevka'
pkgname=font-iosevka
version=3.2.2
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
https://github.com/be5invis/Iosevka/releases/download/v${version}/ttc-iosevka-slab-${version}.zip"
checksum="e61c0988bb231a321f14cce1b119a468f279ea86826c32e943ab16dbf08c1ba9
f06e89994a576d1331d3e79e9c0c88f79d73fe1b57eaa1d97f196a2a3fc9389a
5d980f429a8c42a57a0b709efab685a71332f0ee4884e44e0665630e5658da4e"
font_dirs="/usr/share/fonts/TTF"
do_install() {
vmkdir usr/share/fonts/TTF
vcopy *.ttc usr/share/fonts/TTF
vlicense LICENSE.txt LICENSE.md
}