# Template file for 'font-sil-charis'
pkgname=font-sil-charis
version=6.101
revision=1
depends="font-util"
short_desc="Unicode serif font, similar to Bitstream Charter"
maintainer="Orphaned <orphan@voidlinux.org>"
license="OFL-1.1"
homepage="https://software.sil.org/charis/"
distfiles="https://software.sil.org/downloads/r/charis/CharisSIL-${version}.zip"
checksum=2de585f4517636d18039f1dc082258dfb89262d7a7feea2526fb21c0cc69131f
font_dirs="/usr/share/fonts/SIL"

do_install() {
	vinstall CharisSIL-Bold.ttf 644 ${font_dirs}
	vinstall CharisSIL-BoldItalic.ttf 644 ${font_dirs}
	vinstall CharisSIL-Italic.ttf 644 ${font_dirs}
	vinstall CharisSIL-Regular.ttf 644 ${font_dirs}
}
