# Template file for 'noto-fonts-emoji'
pkgname=noto-fonts-emoji
reverts="20200916_1 20200722_2 20200722_1 20191016_1 20180810_2 20180810_1
20180301_1 20170311_1 20161020_1"
version=2.038
revision=1
depends="font-util"
short_desc="Google Noto Emoji Fonts"
maintainer="classabbyamp <void@placeviolette.net>"
license="OFL-1.1"
homepage="https://www.google.com/get/noto/"
distfiles="https://github.com/googlefonts/noto-emoji/archive/v${version}.tar.gz"
checksum=47d8b39733a1e82efced7dee96e30cb31d205b150dc3ca44d59abbb22d027195
font_dirs="/usr/share/fonts/noto"

do_install() {
	vmkdir usr/share/fonts/noto
	# don't install COLRv1 fonts for now
	vcopy "fonts/NotoColorEmoji*" usr/share/fonts/noto
	vlicense fonts/LICENSE
}
