summaryrefslogtreecommitdiff
path: root/media-fonts/firge/firge-0.3.0-r1.ebuild
blob: 2ce9ffaa1e4025c293fa66f39f19c06a388bc1a7 (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
# Copyright 2023-2024 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2

EAPI=8

inherit font

MY_PV="v${PV}"
MY_P="Firge_${MY_PV}"
MY_P_NF="FirgeNerd_${MY_PV}"

DESCRIPTION="Firge is a composite font of Fira Mono and GenShin-Gothic."
HOMEPAGE="https://github.com/yuru7/Firge"
SRC_URI="
	https://github.com/yuru7/Firge/releases/download/${MY_PV}/${MY_P}.zip
	https://github.com/yuru7/Firge/releases/download/${MY_PV}/${MY_P_NF}.zip
"

S="${WORKDIR}"
FONT_SUFFIX="ttf"

LICENSE="OFL-1.1"
SLOT="0"
KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~loong ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86"

BDEPEND="app-arch/unzip"

src_install() {
	mv ${MY_P}/* ${MY_P_NF}/* . || die
	font_src_install
}