diff options
Diffstat (limited to 'media-fonts/source-han-mono/source-han-mono-1.002.ebuild')
-rw-r--r-- | media-fonts/source-han-mono/source-han-mono-1.002.ebuild | 25 |
1 files changed, 25 insertions, 0 deletions
diff --git a/media-fonts/source-han-mono/source-han-mono-1.002.ebuild b/media-fonts/source-han-mono/source-han-mono-1.002.ebuild new file mode 100644 index 000000000..513b54344 --- /dev/null +++ b/media-fonts/source-han-mono/source-han-mono-1.002.ebuild @@ -0,0 +1,25 @@ +# Copyright 1999-2021 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-serif/" +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 +} |