summaryrefslogtreecommitdiff
blob: ffa90db5b5095a8fc99d01786f8d4b6a617e6b92 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
# Copyright 1999-2021 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2

EAPI=7

MY_P1="ScheherazadeNew-${PV}"
MY_P2="LateefGR-1.200"
inherit font

DESCRIPTION="SIL Opentype Unicode fonts for Arabic Languages"
HOMEPAGE="https://software.sil.org/arabicfonts/"
SRC_URI="https://software.sil.org/downloads/r/scheherazade/${MY_P1}.zip
	https://software.sil.org/downloads/r/lateef/${MY_P2}.zip"

LICENSE="OFL-1.1"
SLOT="0"
KEYWORDS="~alpha amd64 arm ~hppa ~ia64 ppc ppc64 ~s390 ~sparc x86"

BDEPEND="app-arch/unzip"

DOCS=( FONTLOG.txt OFL-FAQ.txt )

FONT_SUFFIX="ttf"

src_unpack() {
	default
	mv "${MY_P1}" "${P}" || die
	mv "${MY_P2}/LateefGR-Regular.ttf" "${P}" || die
}