# Template build file for 'noto-fonts-emoji'.
pkgname=noto-fonts-emoji
version=20180810
revision=1
noarch=yes
_githash=07ad7f0f4dc1bfb03221c2004c7cc60c6b79b25e
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=ec53029d47743d41c5979aa180353b9ce4652d76aac5f04fedac6990bf9c40a9
conflicts="google-fonts-ttf>=0"

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