summaryrefslogtreecommitdiff
path: root/media-fonts/noto-emoji/noto-emoji-20211101.ebuild
blob: df691605d6dce850262cda5b19acc928ef1a7f0c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
# Copyright 1999-2021 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2

EAPI=7

DESCRIPTION="Google Noto Emoji fonts"
HOMEPAGE="https://www.google.com/get/noto/ https://github.com/googlefonts/noto-emoji"

COMMIT="9a5261d871451f9b5183c93483cbd68ed916b1e9"
SRC_URI="
	https://github.com/googlefonts/noto-emoji/raw/${COMMIT}/fonts/NotoColorEmoji.ttf -> NotoColorEmoji-${COMMIT}.ttf
	https://github.com/googlefonts/noto-emoji/raw/${COMMIT}/fonts/NotoEmoji-Regular.ttf -> NotoEmoji-Regular-${COMMIT}.ttf
"

LICENSE="Apache-2.0 OFL-1.1"
SLOT="0"
KEYWORDS="~*"
IUSE=""

S="${DISTDIR}"

src_install() {
	insinto /usr/share/fonts/${PN}
	newins NotoColorEmoji-${COMMIT}.ttf NotoColorEmoji.ttf
	newins NotoEmoji-Regular-${COMMIT}.ttf NotoEmoji-Regular.ttf
}