summaryrefslogtreecommitdiff
blob: 8d02c5319136d1990690eb2e28b93e5cbcfadd82 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
# Copyright 1999-2015 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2

EAPI=5
inherit font versionator

MY_P="FiraFonts$(delete_all_version_separators)"
MY_MINOR="$(get_version_component_range 2)"

DESCRIPTION="Default typeface for FirefoxOS, designed for legibility"
HOMEPAGE="http://www.carrois.com/fira-4-0/"
SRC_URI="http://www.carrois.com/downloads/fira_$(get_major_version)_${MY_MINOR:0:1}/${MY_P}.zip"

LICENSE="OFL-1.1"
SLOT="0"
KEYWORDS="~amd64 ~arm ~arm64 ~x86"
IUSE=""

DEPEND="app-arch/unzip"

S=${WORKDIR}/${MY_P}
FONT_S="${S}/OTF"
FONT_SUFFIX="otf"