# Template file for 'font-iosevka'
pkgname=font-iosevka
version=15.5.0
revision=1
create_wrksrc=yes
depends="font-util"
short_desc="Slender monospace sans-serif and slab-serif typeface"
maintainer="Jose G Perez Taveras <josegpt27@gmail.com>"
license="OFL-1.1"
homepage="https://typeof.net/Iosevka/"
changelog="https://raw.githubusercontent.com/be5invis/Iosevka/master/CHANGELOG.md"
distfiles="https://raw.githubusercontent.com/be5invis/Iosevka/v${version}/LICENSE.md>LICENSE.txt
 https://github.com/be5invis/Iosevka/releases/download/v${version}/super-ttc-iosevka-${version}.zip
 https://github.com/be5invis/Iosevka/releases/download/v${version}/super-ttc-iosevka-slab-${version}.zip"
checksum="46ecadda73abf39cda76731a94fd357b743f882dc1156b4410a2967a811c4ff1
 aa0c7af1f7dca595bcb137fa1aa009385705bda19e04272a5ddad749610f6624
 b1f53a77a8fbd44a9a19f2e8fbd1057c697add7c56d933c699aba8d73f1d124e"

font_dirs="/usr/share/fonts/TTF"

do_install() {
	vmkdir usr/share/fonts/TTF
	vcopy *.ttc usr/share/fonts/TTF
	vlicense LICENSE.txt LICENSE.md
}
