# Template file for 'font-jetbrains-mono'
# Not in the Void repositories; the Das OS monospace font.
pkgname=font-jetbrains-mono
version=2.304
revision=1
create_wrksrc=yes
depends="font-util"
short_desc="Typeface for developers by JetBrains"
maintainer="Das <anry.das@gmail.com>"
license="OFL-1.1"
homepage="https://www.jetbrains.com/lp/mono/"
distfiles="https://github.com/JetBrains/JetBrainsMono/releases/download/v${version}/JetBrainsMono-${version}.zip"
checksum=6f6376c6ed2960ea8a963cd7387ec9d76e3f629125bc33d1fdcd7eb7012f7bbf
font_dirs="/usr/share/fonts/TTF"

do_install() {
	vmkdir usr/share/fonts/TTF
	install -m644 fonts/ttf/*.ttf "${DESTDIR}/usr/share/fonts/TTF/"
	vlicense OFL.txt
}
