void-packages/srcpkgs/font-iosevka/template
2019-02-04 01:54:59 -02:00

23 lines
810 B
Bash

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