blob: 54d4fa1e203747a51fc0b26942810e71a7b377ba (
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
28
29
30
31
32
33
34
35
36
|
# Copyright 1999-2024 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
inherit font
DESCRIPTION="Braille Institute's Atkinson Hyperlegible font."
HOMEPAGE="https://www.brailleinstitute.org/freefont/"
MY_PV="2020-0514"
SRC_URI="https://www.brailleinstitute.org/atkinson-hyperlegible-font/Atkinson-Hyperlegible-Font-Print-and-Web-${MY_PV}.zip -> ${P}.zip"
S="${WORKDIR}/Atkinson-Hyperlegible-Font-Print-and-Web-${MY_PV}"
LICENSE="OFL-1.1"
SLOT="0"
KEYWORDS="~amd64 ~arm64 ~loong ~riscv ~x86"
IUSE="otf +ttf"
REQUIRED_USE="^^ ( otf ttf )"
BDEPEND="app-arch/unzip"
FONT_SUFFIX=""
src_install() {
if use otf; then
FONT_SUFFIX+="otf"
FONT_S=( "Print Fonts/" )
fi
if use ttf; then
FONT_SUFFIX+="ttf"
FONT_S=( "Web Fonts/TTF" )
fi
font_src_install
}
|