mirror of
https://github.com/gentoo-mirror/guru.git
synced 2025-04-10 12:08:43 -04:00
media-fonts/monaspace: new package, version 1.000
Signed-off-by: Robert Greener <dev@greener.sh>
This commit is contained in:
parent
e037144bc1
commit
81999883d9
1
media-fonts/monaspace/Manifest
Normal file
1
media-fonts/monaspace/Manifest
Normal file
@ -0,0 +1 @@
|
||||
DIST monaspace-v1.000.zip 122949327 BLAKE2B f22a24580e21edc2488dffd8dfce22551ff5ba88e199349e9d835b9ccb04dc3f6bec3b6a4c0f22e3ce8fba1e541fd3b8ddc6593dc21bb12a082833b199a1c00e SHA512 f06bfcc20c48b6c92b16620ee5f649a284bfc8d8d20c212b28613491a26a3627be02eede167eda331e66509163fd50fb435e89c07c6cff297efd503c273a102c
|
14
media-fonts/monaspace/metadata.xml
Normal file
14
media-fonts/monaspace/metadata.xml
Normal file
@ -0,0 +1,14 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd">
|
||||
<pkgmetadata>
|
||||
<maintainer type="person">
|
||||
<email>dev@greener.sh</email>
|
||||
<name>Robert Greener</name>
|
||||
</maintainer>
|
||||
<upstream>
|
||||
<remote-id type="github">githubnext/monaspace</remote-id>
|
||||
</upstream>
|
||||
<use>
|
||||
<flag name="variable">Whether to install the variable weight fonts</flag>
|
||||
</use>
|
||||
</pkgmetadata>
|
38
media-fonts/monaspace/monaspace-1.000.ebuild
Normal file
38
media-fonts/monaspace/monaspace-1.000.ebuild
Normal file
@ -0,0 +1,38 @@
|
||||
# Copyright 2023 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=8
|
||||
|
||||
inherit font
|
||||
|
||||
DESCRIPTION="A free and open-source typeface for developers"
|
||||
HOMEPAGE="https://github.com/githubnext/monaspace"
|
||||
SRC_URI="https://github.com/githubnext/monaspace/releases/download/v${PV}/monaspace-v${PV}.zip"
|
||||
|
||||
S="${WORKDIR}/monaspace-v${PV}"
|
||||
LICENSE="OFL-1.1"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64"
|
||||
|
||||
FONT_S="${S}/fonts/total"
|
||||
FONT_SUFFIX=""
|
||||
IUSE="variable +otf"
|
||||
REQUIRED_USE="|| ( otf variable )"
|
||||
|
||||
BDEPEND="app-arch/unzip"
|
||||
|
||||
src_prepare() {
|
||||
default
|
||||
|
||||
mkdir "${S}/fonts/total" || die
|
||||
|
||||
if use otf ; then
|
||||
mv "${S}/fonts/otf/"* "${S}/fonts/total" || die
|
||||
FONT_SUFFIX="${FONT_SUFFIX} otf"
|
||||
fi
|
||||
|
||||
if use variable ; then
|
||||
mv "${S}/fonts/variable/"* "${S}/fonts/total" || die
|
||||
FONT_SUFFIX="${FONT_SUFFIX} ttf"
|
||||
fi
|
||||
}
|
Loading…
x
Reference in New Issue
Block a user