Сравнение sil-charis-5.000-r1 с sil-charis-6.101
/usr/portage/media-fonts/sil-charis/sil-charis-6.101.ebuild 2023-10-09 14:52:31.612368404 +0300 | ||
---|---|---|
1 |
# Copyright 1999-2022 Gentoo Authors |
|
1 |
# Copyright 1999-2023 Gentoo Authors |
|
2 | 2 |
# Distributed under the terms of the GNU General Public License v2 |
3 | 3 | |
4 |
EAPI=7 |
|
4 |
EAPI=8 |
|
5 | 5 | |
6 | 6 |
MY_PN="CharisSIL" |
7 | 7 |
inherit font |
8 | 8 | |
9 | 9 |
DESCRIPTION="Serif typeface for Roman and Cyrillic languages" |
10 | 10 |
HOMEPAGE="https://software.sil.org/charis/" |
11 |
SRC_URI="https://software.sil.org/downloads/r/charis/${MY_PN}-${PV}.zip -> ${P}.zip |
|
12 |
compact? ( https://software.sil.org/downloads/r/charis/${MY_PN}Compact-${PV}.zip )" |
|
11 |
SRC_URI="https://software.sil.org/downloads/r/charis/${MY_PN}-${PV}.zip -> ${P}.zip" |
|
13 | 12 |
S="${WORKDIR}/${MY_PN}-${PV}" |
14 | 13 | |
15 | 14 |
LICENSE="OFL-1.1" |
16 | 15 |
SLOT="0" |
17 | 16 |
KEYWORDS="~alpha amd64 arm ~hppa ~ia64 ~loong ppc ppc64 ~s390 sparc x86 ~x64-macos" |
18 |
IUSE="compact" |
|
19 | 17 | |
20 | 18 |
BDEPEND="app-arch/unzip" |
21 | 19 | |
22 | 20 |
# DOCS=( OFL-FAQ.txt documentation/* ) |
23 | 21 | |
24 | 22 |
FONT_SUFFIX="ttf" |
25 | ||
26 |
src_prepare() { |
|
27 |
default |
|
28 |
if use compact; then |
|
29 |
mv "${WORKDIR}"/${MY_PN}Compact-${PV}/*.${FONT_SUFFIX} . || die |
|
30 |
fi |
|
31 |
} |