diff options
author | Daichi Yamamoto <dev@dyama.net> | 2024-04-01 10:42:30 +0900 |
---|---|---|
committer | Daichi Yamamoto <dev@dyama.net> | 2024-04-01 10:42:30 +0900 |
commit | 79aa6463a058bd6396d358abcf921169ef929525 (patch) | |
tree | 3db0d1587ed3d3aded5b7fdbe02fd3ca34c8b2b2 /media-fonts | |
parent | app-misc/watch-tree-and-replace-spaces-with-a-few-other-chars: einfo syntax f... (diff) | |
download | guru-79aa6463a058bd6396d358abcf921169ef929525.tar.gz guru-79aa6463a058bd6396d358abcf921169ef929525.tar.bz2 guru-79aa6463a058bd6396d358abcf921169ef929525.zip |
media-fonts/moralerspace: new package, add 1.0.0
Signed-off-by: Daichi Yamamoto <dev@dyama.net>
Diffstat (limited to 'media-fonts')
-rw-r--r-- | media-fonts/moralerspace/Manifest | 2 | ||||
-rw-r--r-- | media-fonts/moralerspace/metadata.xml | 15 | ||||
-rw-r--r-- | media-fonts/moralerspace/moralerspace-1.0.0.ebuild | 34 |
3 files changed, 51 insertions, 0 deletions
diff --git a/media-fonts/moralerspace/Manifest b/media-fonts/moralerspace/Manifest new file mode 100644 index 000000000..2a0b839bd --- /dev/null +++ b/media-fonts/moralerspace/Manifest @@ -0,0 +1,2 @@ +DIST MoralerspaceNF_v1.0.0.zip 58378905 BLAKE2B e8b55e978c7c278be27f227901b107fda4818ab950ab742f0cb92e8b7b36402717dfcd7fa5c0eff3acc2abf2894192d49c93d34cea215e1e2a949a95f924c03b SHA512 03baff0cc7322284b0d16343c1f38906fdf5ad97e9e733cb3592d66722759708e725d54a9ba3dcf050ac318daaa8dffc9ff7a561135f378e6ae10a59ca7c67ba +DIST Moralerspace_v1.0.0.zip 39136796 BLAKE2B f8d3180827616a3862e72ec8b858b7e1b7f75672df57c44a9d803cdaa697505d0d75c333b31280a6970a80757863bc3b93fc4860c6cb03e717dafa41a9be1f04 SHA512 279493b993c80c0807db6111ea4e0dcfad3eaa83772791f9ccf04ae552e897cca7f468e6a84b7942309ac6cad4c3353648903ef18e2b9de2fd533f422cabc207 diff --git a/media-fonts/moralerspace/metadata.xml b/media-fonts/moralerspace/metadata.xml new file mode 100644 index 000000000..6dc03f534 --- /dev/null +++ b/media-fonts/moralerspace/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/moralerspace</remote-id> + </upstream> +</pkgmetadata> diff --git a/media-fonts/moralerspace/moralerspace-1.0.0.ebuild b/media-fonts/moralerspace/moralerspace-1.0.0.ebuild new file mode 100644 index 000000000..bbc78fb77 --- /dev/null +++ b/media-fonts/moralerspace/moralerspace-1.0.0.ebuild @@ -0,0 +1,34 @@ +# Copyright 2023 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +inherit font + +MY_PV="v${PV}" +MY_P="${PN^}_${MY_PV}" +MY_P_NF="${PN^}NF_${MY_PV}" + +DESCRIPTION="moralerspace is a composite font of Monaspace and IBM Plex Sans JP." +HOMEPAGE="https://github.com/yuru7/moralerspace" +SRC_URI="https://github.com/yuru7/moralerspace/releases/download/${MY_PV}/${MY_P}.zip + nerdfonts? ( https://github.com/yuru7/moralerspace/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 +} |