~q3cpma/portage-overlay

ref: 2a3d524c561c0cbccb8fbd94a7cb4e7a4e3af8a8 portage-overlay/media-fonts/source-han-mono/source-han-mono-1.002.ebuild -rw-r--r-- 635 bytes
2a3d524cq3cpma Bump source-han-{sans,serif} and add source-han-mono 3 months ago
                                                                                
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
# Copyright 1999-2022 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2

EAPI=7
inherit font

DESCRIPTION="Pan-CJK OpenType/CFF monospace font family"
HOMEPAGE="https://github.com/adobe-fonts/source-han-mono/"
SRC_URI="https://github.com/adobe-fonts/${PN}/releases/download/${PV}/SourceHanMono.ttc"

LICENSE="Apache-2.0"
SLOT="0"
KEYWORDS="~alpha amd64 ~arm ~arm64 ~ia64 ~ppc ~ppc64 ~sh ~sparc x86 ~amd64-fbsd ~x86-fbsd ~x64-macos"

S=${WORKDIR}
FONT_SUFFIX="ttc"
RESTRICT="binchecks strip"

src_install() {
	insinto "${FONTDIR}"
	doins "$DISTDIR/$A"
	font_xfont_config
	font_fontconfig
	einstalldocs
}