diff options
author | Daichi Yamamoto <dev@dyama.net> | 2023-11-22 21:46:12 +0900 |
---|---|---|
committer | Daichi Yamamoto <dev@dyama.net> | 2023-11-22 21:46:12 +0900 |
commit | 309876f48f10f4cfb9a1048c8c12bbc5fdf700d1 (patch) | |
tree | 245f0b851a1d5ed85abd69c5c8ced40f19457bbf /media-fonts | |
parent | media-fonts/hackgen: new package, add 2.9.0 (diff) | |
download | guru-309876f48f10f4cfb9a1048c8c12bbc5fdf700d1.tar.gz guru-309876f48f10f4cfb9a1048c8c12bbc5fdf700d1.tar.bz2 guru-309876f48f10f4cfb9a1048c8c12bbc5fdf700d1.zip |
media-fonts/firge: new package, add 0.3.0
Signed-off-by: Daichi Yamamoto <dev@dyama.net>
Diffstat (limited to 'media-fonts')
-rw-r--r-- | media-fonts/firge/Manifest | 2 | ||||
-rw-r--r-- | media-fonts/firge/firge-0.3.0.ebuild | 35 | ||||
-rw-r--r-- | media-fonts/firge/metadata.xml | 15 |
3 files changed, 52 insertions, 0 deletions
diff --git a/media-fonts/firge/Manifest b/media-fonts/firge/Manifest new file mode 100644 index 000000000..25b1537e5 --- /dev/null +++ b/media-fonts/firge/Manifest @@ -0,0 +1,2 @@ +DIST FirgeNerd_v0.3.0.zip 16284753 BLAKE2B 84f29f8f21002e08408c970554f42101bf469d6fb1a295b77572daec6abdd479d8b3a4ae2487544077cf5f5479defbc8528a3878fa49afc8a3af1f4e6b325a3a SHA512 ebc06d935c4540585ddf131e531363a295c3ea6207c2e8453d3fed05aa0aad0505def632f4ff314fa10c1c6f0c5492786304d779167d2061dde01f23c819f702 +DIST Firge_v0.3.0.zip 23908237 BLAKE2B 3c5b26b30bf247fc17fd035a0ad702b802f68f0f2af56905eca8302e06ed4e865221f4d4936f94400789623c77df23cfa5b0eb70cd8932445294493783c34e4e SHA512 308c182451cb629a30ee75feb087bcbfbe8b266417274acfce98e05ae897a128c1d230e6f8331dd1657e8742b3adefcd26f0841b39240257884a2f7d2a10aa3e diff --git a/media-fonts/firge/firge-0.3.0.ebuild b/media-fonts/firge/firge-0.3.0.ebuild new file mode 100644 index 000000000..a53883a02 --- /dev/null +++ b/media-fonts/firge/firge-0.3.0.ebuild @@ -0,0 +1,35 @@ +# Copyright 2023 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +inherit font + +MY_PN="Firge" +MY_PV="v${PV}" +MY_P="${MY_PN}_${MY_PV}" +MY_P_NF="${MY_PN}Nerd_${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 + nerdfonts? ( https://github.com/yuru7/Firge/releases/download/${MY_PV}/${MY_P_NF}.zip ) +" + +LICENSE="OFL-1.1" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86" +IUSE="nerdfonts" + +BDEPEND="app-arch/unzip" + +S="${WORKDIR}" +FONT_SUFFIX="ttf" + +src_unpack() { + default + mv ${MY_P}/*.${FONT_SUFFIX} . || die + if use nerdfonts; then + mv ${MY_P_NF}/*.${FONT_SUFFIX} . || die + fi +} diff --git a/media-fonts/firge/metadata.xml b/media-fonts/firge/metadata.xml new file mode 100644 index 000000000..d9e2306c8 --- /dev/null +++ b/media-fonts/firge/metadata.xml @@ -0,0 +1,15 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> + <maintainer type="person"> + <email>dev@dyama.net</email> + <name>Daichi Yamamoto</name> + </maintainer> + <stabilize-allarches /> + <use> + <flag name="nerdfonts">Install Nerd Fonts composite version</flag> + </use> + <upstream> + <remote-id type="github">yuru7/Firge</remote-id> + </upstream> +</pkgmetadata> |