summaryrefslogtreecommitdiff
path: root/media-fonts/fira-code/fira-code-1.205.ebuild
blob: 50bb9a72f16a8ec97497c58ce5b8240bb204cd4d (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
26
27
# Copyright 1999-2018 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2

EAPI=6

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/otf"
FONT_SUFFIX="otf"

DOCS="README.md"

src_prepare() {
	default
	mv "${WORKDIR}"/*.otf "${FONT_S}" || die
}