logo

overlay

My (experimental) gentoo overlay
commit: 318c4bbd004667047cdeadbfc219c8c14ad0102b
parent: 3218870630da1e19693bf4d9034cd54aa4f08919
Author: Haelwenn (lanodan) Monnier <contact@hacktivis.me>
Date:   Sun, 28 Oct 2018 01:36:57 +0200

media-fonts/inria-fonts: New package

Based on ::junkdrawer

Diffstat:

Amedia-fonts/inria-fonts/Manifest1+
Amedia-fonts/inria-fonts/inria-fonts-1.200.ebuild28++++++++++++++++++++++++++++
2 files changed, 29 insertions(+), 0 deletions(-)

diff --git a/media-fonts/inria-fonts/Manifest b/media-fonts/inria-fonts/Manifest @@ -0,0 +1 @@ +DIST InriaFonts-1.200.tar.gz 4848249 BLAKE2B f7263efaa70288b4eb6558eb804a281d81f3c8beae99d7f4e0b2f120d78589ae489441949ff65dced5e262e19cd1da4121f2a4068bdff9cbb8139475f8ac8e33 SHA512 60ccf032af882879be56dc7bcab0d7e291dc3de0d722cb516b49286e4d61da97177b0a54df5e44eb7736dcbe6bcb6fadf960a2120bd0f2460bf62d990b53843f diff --git a/media-fonts/inria-fonts/inria-fonts-1.200.ebuild b/media-fonts/inria-fonts/inria-fonts-1.200.ebuild @@ -0,0 +1,28 @@ +# Copyright 1999-2018 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 + +MY_PN="InriaFonts" +MY_P=${MY_PN}-${PV} + +inherit font + +DESCRIPTION="Inria Serif and Inria Sans Typeface" +HOMEPAGE="https://black-foundry.com/work/inria/" +SRC_URI="https://github.com/BlackFoundry/InriaFonts/archive/v${PV}.tar.gz -> ${MY_P}.tar.gz" + +LICENSE="OFL-1.1" +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="" + +S="${WORKDIR}/${MY_P}" +FONT_SUFFIX="ttf otf" +FONT_S="${S}" + +src_prepare() { + default + mv "${S}"/fonts/*/TTF/*.ttf "${FONT_S}" || die + mv "${S}"/fonts/*/OTF/*.otf "${FONT_S}" || die +}