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

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