# Template file for 'noto-fonts-emoji'
pkgname=noto-fonts-emoji
version=20200916
revision=1
# fix suffix as appropriate for new versions
_suffix=unicode13_1
_ver=${version:0:4}-${version:4:2}-${version:6:2}
wrksrc="noto-emoji-${_ver}-${_suffix}"
depends="font-util"
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/googlefonts/noto-emoji/archive/refs/tags/v${_ver}-${_suffix}.tar.gz"
checksum=13ad521b42e395751c72c0bf5585bd354d2383c65abe1a6227743fa8661e0feb
font_dirs="/usr/share/fonts/noto"

do_install() {
	install -Dm644 fonts/Noto* -t ${DESTDIR}/usr/share/fonts/noto
	vlicense fonts/LICENSE
}
