# Template file for 'font-firacode'
pkgname=font-firacode
version=6.2
revision=2
create_wrksrc=yes
hostmakedepends="unzip"
short_desc="FiraCode: monospaced font with programming ligatures"
maintainer="wundrweapon <whhacker.dcx@gmail.com>"
license="OFL-1.1"
homepage="https://github.com/tonsky/FiraCode"
changelog="https://github.com/tonsky/FiraCode/raw/master/CHANGELOG.md"
distfiles="https://github.com/tonsky/FiraCode/releases/download/${version}/Fira_Code_v${version}.zip"
checksum=0949915ba8eb24d89fd93d10a7ff623f42830d7c5ffc3ecbf960e4ecad3e3e79
font_dirs="/usr/share/fonts/TTF"
provides="font:monospace-0_1"

do_install() {
	install -Dm644 ttf/* -t ${DESTDIR}/${font_dirs}
}
