# Template file for 'fonts-roboto-ttf'
pkgname=fonts-roboto-ttf
version=3.012
revision=2
depends="font-util"
short_desc="Google's signature family of fonts"
maintainer="travankor <travankor@tuta.io>"
license="Apache-2.0"
homepage="https://fonts.google.com/specimen/Roboto"
distfiles="https://github.com/googlefonts/roboto-3-classic/releases/download/v${version}/Roboto_v${version}.zip
 https://github.com/googlefonts/RobotoMono/archive/refs/tags/v3.001.tar.gz"
checksum="fda623da606ee230c84dab1c79e534341557510663c81b56ba57a320d36cbc2d
 677d8513918572700531a3115f721a416557a5c701b150abc4d118a7177c8bdc"
font_dirs="/usr/share/fonts/roboto"
provides="font:sans-serif-0_1 font:monospace-0_1"

do_install() {
	vmkdir usr/share/fonts/roboto
	vcopy hinted/*.ttf usr/share/fonts/roboto
	vcopy RobotoMono*/fonts/otf/*.otf usr/share/fonts/roboto
}
