summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJohannes Huber <johu@gentoo.org>2018-05-13 13:03:52 +0200
committerJohannes Huber <johu@gentoo.org>2018-05-13 13:04:56 +0200
commit58f9ed2ddcb979d8aafb592ada03e793f10fdf2a (patch)
tree2d61f7ffb2f634d7a68a1c884c2269d49ba0b752
parentdev-lang/gforth: reenable build-time checks (diff)
downloadgentoo-58f9ed2ddcb979d8aafb592ada03e793f10fdf2a.tar.gz
gentoo-58f9ed2ddcb979d8aafb592ada03e793f10fdf2a.tar.bz2
gentoo-58f9ed2ddcb979d8aafb592ada03e793f10fdf2a.zip
media-fonts/sil-charis: Revision bump 5.000-r1
EAPI 6 Package-Manager: Portage-2.3.36, Repoman-2.3.9
-rw-r--r--media-fonts/sil-charis/sil-charis-5.000-r1.ebuild33
1 files changed, 33 insertions, 0 deletions
diff --git a/media-fonts/sil-charis/sil-charis-5.000-r1.ebuild b/media-fonts/sil-charis/sil-charis-5.000-r1.ebuild
new file mode 100644
index 00000000000..088723a2da4
--- /dev/null
+++ b/media-fonts/sil-charis/sil-charis-5.000-r1.ebuild
@@ -0,0 +1,33 @@
+# Copyright 1999-2018 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+
+inherit font
+
+MY_PN="CharisSIL"
+MY_P="${MY_PN}-${PV}"
+
+DESCRIPTION="Serif typeface for Roman and Cyrillic languages"
+HOMEPAGE="http://scripts.sil.org/CharisSILfont"
+SRC_URI="http://scripts.sil.org/cms/scripts/render_download.php?format=file&media_id=${MY_P}.zip&filename=${MY_P}.zip -> ${P}.zip
+ compact? ( http://scripts.sil.org/cms/scripts/render_download.php?format=file&media_id=CharisSILCompact-${PV}b.zip&filename=CharisSILCompact-${PV}.zip -> ${MY_PN}Compact-${PV}.zip )"
+
+LICENSE="OFL-1.1"
+SLOT="0"
+KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~x86-fbsd ~x64-macos"
+IUSE="compact"
+
+DEPEND="app-arch/unzip"
+
+S="${WORKDIR}/${MY_PN}-${PV}"
+FONT_S="${S}"
+FONT_SUFFIX="ttf"
+DOCS="OFL-FAQ.txt documentation/*"
+
+src_prepare() {
+ default
+ if use compact; then
+ mv "${WORKDIR}"/${MY_PN}Compact-${PV}/*.${FONT_SUFFIX} "${FONT_S}" || die
+ fi
+}