summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--media-fonts/fira-code/fira-code-4.ebuild7
-rw-r--r--media-fonts/fira-code/fira-code-5.2.ebuild18
2 files changed, 11 insertions, 14 deletions
diff --git a/media-fonts/fira-code/fira-code-4.ebuild b/media-fonts/fira-code/fira-code-4.ebuild
index c9c8dbb7c8aa..c12ec2c68c1e 100644
--- a/media-fonts/fira-code/fira-code-4.ebuild
+++ b/media-fonts/fira-code/fira-code-4.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2020 Gentoo Authors
+# Copyright 1999-2021 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=7
@@ -13,15 +13,14 @@ 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"
+DOCS=( README.md )
-DEPEND="app-arch/unzip"
+BDEPEND="app-arch/unzip"
src_prepare() {
default
diff --git a/media-fonts/fira-code/fira-code-5.2.ebuild b/media-fonts/fira-code/fira-code-5.2.ebuild
index c9c8dbb7c8aa..36371a22ab1d 100644
--- a/media-fonts/fira-code/fira-code-5.2.ebuild
+++ b/media-fonts/fira-code/fira-code-5.2.ebuild
@@ -1,27 +1,25 @@
-# Copyright 1999-2020 Gentoo Authors
+# Copyright 1999-2021 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=7
+S="${WORKDIR}/FiraCode-${PV}"
+FONT_S="${S}/distr/ttf"
+FONT_SUFFIX="ttf otf"
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"
+SRC_URI="https://github.com/tonsky/FiraCode/archive/${PV}.tar.gz -> ${P}.tar.gz"
+SRC_URI+=" 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"
+DOCS=( README.md )
-DEPEND="app-arch/unzip"
+BDEPEND="app-arch/unzip"
src_prepare() {
default