# Template file for 'font-fantasque-sans-ttf'
pkgname=font-fantasque-sans-ttf
version=1.8.0
revision=2
create_wrksrc=yes
depends="font-util xbps-triggers"
short_desc="Handwriting-like programming typeface"
maintainer="Kartik Singh <kartik.ynwa@gmail.com>"
license="OFL-1.1"
homepage="https://fontlibrary.org/en/font/fantasque-sans-mono"
distfiles="https://github.com/belluzj/fantasque-sans/releases/download/v${version}/FantasqueSansMono-Normal.tar.gz"
checksum=645709a54ea6fba24c926135a213d342ddb18f0f8b49f4e604b2210b73e9068a
font_dirs="/usr/share/fonts/TTF"

do_install() {
	vmkdir usr/share/fonts/TTF
	vcopy TTF/*.ttf usr/share/fonts/TTF
	# dos2unix
	sed -i LICENSE.txt -e 's;\r;;g'
	vlicense LICENSE.txt
}
