blob: 6f83bbdfbb6c24980dc16dab8c0da1ab86f29d66 (
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-2024 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 ~ppc ~ppc64 ~sparc ~x86 ~x64-macos"
FONT_SUFFIX="ttc"
RESTRICT="binchecks strip"
BDEPEND="app-arch/unzip"
src_prepare() {
cp "${DISTDIR}"/${P}.ttc . || die
default
}
|