aboutsummaryrefslogtreecommitdiff
blob: 670601e8a2193c8cd03104a742ad0f6f207a921e (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
# Copyright 1999-2023 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2

EAPI=8

inherit font

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

LICENSE="OFL-1.1"
SLOT="0"
KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~ia64 ~ppc ~ppc64 ~sparc ~x86 ~x64-macos"

FONT_SUFFIX="ttc"
RESTRICT="binchecks strip"

BDEPEND="app-arch/unzip"

src_prepare() {
	cp "${DISTDIR}"/${P}.ttc . || die
	default
}