# Template build file for 'noto-fonts-ttf'.
pkgname=noto-fonts-ttf
version=20170307
revision=1
noarch="yes"
_githash=60aa0da2ee84b11e78725b4577edc2e80b009d56
wrksrc="noto-fonts-${_githash}"
depends="font-util"
font_dirs="/usr/share/fonts/noto"
short_desc="Google Noto TTF Fonts"
maintainer="Peter Bui <pnutzh4x0r@gmail.com>"
license="OFL-1.1"
homepage="https://www.google.com/get/noto/"
distfiles="https://github.com/googlei18n/noto-fonts/archive/${_githash}.tar.gz>${pkgname}-${version}.tar.gz"
checksum=9d74d9fa04dfa182b8fa1a3caca3b65cc929b76e169bf59c6ce8c78b9c08be82
conflicts="google-fonts-ttf>=0"

do_install() {
	vmkdir usr/share/fonts/noto
	install -m644 hinted/Noto*.ttf ${DESTDIR}/usr/share/fonts/noto
}
