public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-commits] repo/proj/guru:master commit in: media-fonts/moralerspace/
@ 2024-04-01 11:14 Julien Roy
  0 siblings, 0 replies; only message in thread
From: Julien Roy @ 2024-04-01 11:14 UTC (permalink / raw
  To: gentoo-commits

commit:     79aa6463a058bd6396d358abcf921169ef929525
Author:     Daichi Yamamoto <dev <AT> dyama <DOT> net>
AuthorDate: Mon Apr  1 01:42:30 2024 +0000
Commit:     Julien Roy <julien <AT> jroy <DOT> ca>
CommitDate: Mon Apr  1 01:42:30 2024 +0000
URL:        https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=79aa6463

media-fonts/moralerspace: new package, add 1.0.0

Signed-off-by: Daichi Yamamoto <dev <AT> dyama.net>

 media-fonts/moralerspace/Manifest                  |  2 ++
 media-fonts/moralerspace/metadata.xml              | 15 ++++++++++
 media-fonts/moralerspace/moralerspace-1.0.0.ebuild | 34 ++++++++++++++++++++++
 3 files changed, 51 insertions(+)

diff --git a/media-fonts/moralerspace/Manifest b/media-fonts/moralerspace/Manifest
new file mode 100644
index 0000000000..2a0b839bd1
--- /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 0000000000..6dc03f5342
--- /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 0000000000..bbc78fb777
--- /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
+}


^ permalink raw reply related	[flat|nested] only message in thread

only message in thread, other threads:[~2024-04-01 11:14 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-04-01 11:14 [gentoo-commits] repo/proj/guru:master commit in: media-fonts/moralerspace/ Julien Roy

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox