# Template file for 'font-sil-padauk'
pkgname=font-sil-padauk
version=4.000
revision=2
wrksrc="Padauk-${version}"
hostmakedepends="unzip"
depends="font-util"
short_desc="Font with broad support for writing systems that use the Myanmar script"
maintainer="Ivan Sokolov <ivan-p-sokolov@ya.ru>"
license="OFL-1.1"
homepage="https://software.sil.org/padauk/"
distfiles="https://software.sil.org/downloads/r/padauk/Padauk-${version}.zip"
checksum=dd5311eaf0204b75044a856dbb2176a5db2bfe8ad00276ac5ff89f72d9d211fc
font_dirs="/usr/share/fonts/SIL"

do_install() {
	vinstall Padauk-Regular.ttf 644 ${font_dirs}
	vinstall Padauk-Bold.ttf 644 ${font_dirs}
	vinstall PadaukBook-Regular.ttf 644 ${font_dirs}
	vinstall PadaukBook-Bold.ttf 644 ${font_dirs}
}
