# Template file for 'font-inter'
pkgname=font-inter
version=3.19
revision=1
depends="font-util"
short_desc="Variable typeface carefully crafted & designed for computer screens"
maintainer="Robin Lundgren <linkert@onan.in>"
license="OFL-1.1"
homepage="https://rsms.me/inter/"
distfiles="https://github.com/rsms/inter/releases/download/v${version}/Inter-${version}.zip"
checksum=150ab6230d1762a57bebf35dfc04d606ff91598a31d785f7f100356ecdcc0032

font_dirs="/usr/share/fonts/OTF/inter"

do_install() {
	vmkdir usr/share/fonts/OTF/inter
	vcopy *Desktop/*.otf usr/share/fonts/OTF/inter
	vlicense LICENSE.txt LICENSE.md
}
