void-packages/srcpkgs/font-iosevka/template
2019-11-09 21:36:23 +01:00

24 lines
813 B
Bash

# Template file for 'font-iosevka'
pkgname=font-iosevka
version=2.3.3
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
619cefd74834c9277adf09b873a4fce6522d3f8e9241cfe15620c2f2662e7b4a"
font_dirs="/usr/share/fonts/TTF"
do_install() {
vmkdir usr/share/fonts/TTF
vcopy *.ttc usr/share/fonts/TTF
vlicense LICENSE.txt LICENSE.md
}