From 4f2d7949f03e1c198bc888f2d05f421d35c57e21 Mon Sep 17 00:00:00 2001 From: V3n3RiX Date: Mon, 9 Oct 2017 18:53:29 +0100 Subject: reinit the tree, so we can have metadata --- media-fonts/lohit-fonts/lohit-fonts-2.4.2.ebuild | 27 ++++++++++++++++++++++++ 1 file changed, 27 insertions(+) create mode 100644 media-fonts/lohit-fonts/lohit-fonts-2.4.2.ebuild (limited to 'media-fonts/lohit-fonts/lohit-fonts-2.4.2.ebuild') diff --git a/media-fonts/lohit-fonts/lohit-fonts-2.4.2.ebuild b/media-fonts/lohit-fonts/lohit-fonts-2.4.2.ebuild new file mode 100644 index 000000000000..240493007d67 --- /dev/null +++ b/media-fonts/lohit-fonts/lohit-fonts-2.4.2.ebuild @@ -0,0 +1,27 @@ +# Copyright 1999-2012 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +inherit font + +FONT_S="${S}" +FONTDIR="/usr/share/fonts/indic" +FONT_SUFFIX="ttf" + +DESCRIPTION="The Lohit family of Indic fonts" +HOMEPAGE="https://fedorahosted.org/lohit" +LICENSE="GPL-2" +SRC_URI="https://fedorahosted.org/releases/l/o/lohit/${P}.tar.gz" + +SLOT="0" +KEYWORDS="alpha amd64 arm ia64 ppc ppc64 s390 sh sparc x86 ~x86-fbsd ~ppc-macos ~x86-macos" +IUSE="" + +DOCS="AUTHORS ChangeLog README" + +RESTRICT="test binchecks" + +src_install() { + FONT_CONF=( $(find "${FONT_S}" -name *.conf -print) ) + find "${S}" -name "*.ttf" -exec cp "{}" . \; + font_src_install +} -- cgit v1.2.3