diff options
-rw-r--r-- | media-fonts/fira-code/Manifest | 1 | ||||
-rw-r--r-- | media-fonts/fira-code/fira-code-4.ebuild | 29 |
2 files changed, 30 insertions, 0 deletions
diff --git a/media-fonts/fira-code/Manifest b/media-fonts/fira-code/Manifest index 3a0f003eb6d2..d432ebabd579 100644 --- a/media-fonts/fira-code/Manifest +++ b/media-fonts/fira-code/Manifest @@ -3,3 +3,4 @@ DIST fira-code-1.207.tar.gz 6640459 BLAKE2B ccd61201c5fe9d8755f0822d413df6618476 DIST fira-code-2.tar.gz 7100481 BLAKE2B 1ca41276c56b6edb174620224d2a0a72750cd29c48c71a350d033896e2ff6d59454236f193b6dc95f8f5ccd338951ac52f5c2e27c6a5286589382af938bc76f8 SHA512 313f11f1550d964119c2576bc988ca7d009ebd670c93b3c4a29583f91499166816ed326fdb5a5082ed7c7a33c49263e627a3356cc739aa1a8e34689820081399 DIST fira-code-3.1.tar.gz 5665465 BLAKE2B d1ad5d8e2d217d9dc1f06b9ac52dcf87f4f108aab1469399f0d1fb011f3619a1ce1c85803213da33a7b7f6e48fffddc194627b3fe560f7340a6a41b15d822062 SHA512 6acb941664a773a1186e6b6150ce747977fc95963d4be8756de05eddf7c2785ba0a5eac8319361779f6e747e8cd1edadeff1a72045cdeb3b152ce5bb2c1b77dd DIST fira-code-3.tar.gz 5665172 BLAKE2B c27861867102b788da151e9b5ed3b8a1d3e610f9f40d6facfc7f850fb15ff6903bc4e0579674e4732b52bf1477b3f9bc223158c59991d4517af3476f7f5d819f SHA512 2518b2fe1e2454da32a023e93c38358b0c89691f2f47b2e26e9ccf583109911b83d73880800fe02f556e9ed5888edf08e447360628eedb4e7a693a2f9e778520 +DIST fira-code-4.tar.gz 5580474 BLAKE2B 0bc9b4c8a54f238f1c464398162a56dccf0ac5f4aaffac00357bc7ad0ed99436b44220180f9753a0bc6f2fccc5dafe4a47df9cac91dc87fb1441952e1f04eeae SHA512 037698435b3f77f5ad2dcfb6ea6ff3063c50d224c2b95ada472bf9b12a6342e892d60220e1993045858697fff9c4fb5da97b41ac3437c4fa50f48ef1398c9738 diff --git a/media-fonts/fira-code/fira-code-4.ebuild b/media-fonts/fira-code/fira-code-4.ebuild new file mode 100644 index 000000000000..73fe57c4a3dc --- /dev/null +++ b/media-fonts/fira-code/fira-code-4.ebuild @@ -0,0 +1,29 @@ +# Copyright 1999-2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +inherit font + +DESCRIPTION="Monospaced font with programming ligatures" +HOMEPAGE="https://github.com/tonsky/FiraCode" +SRC_URI="https://github.com/tonsky/FiraCode/archive/${PV}.tar.gz -> ${P}.tar.gz +https://github.com/tonsky/FiraCode/files/412440/FiraCode-Regular-Symbol.zip" + +LICENSE="OFL-1.1" +SLOT="0" +KEYWORDS="~amd64 ~arm ~arm64 ~x86" +IUSE="" + +S="${WORKDIR}/FiraCode-${PV}" +FONT_S="${S}/distr/ttf" +FONT_SUFFIX="ttf otf" + +DOCS="README.md" + +DEPEND="app-arch/unzip" + +src_prepare() { + default + mv "${WORKDIR}"/*.otf "${FONT_S}" || die +} |