summaryrefslogtreecommitdiff
blob: 6f6d30966d3c041407d28c69eb3c8ec5723b62bd (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
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
# Copyright 1999-2009 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/media-fonts/ekushey-bangla-fonts/ekushey-bangla-fonts-20070420.ebuild,v 1.4 2009/09/21 22:01:46 maekke Exp $

inherit font

P_LOHIT="Lohit_14-04-2007"
P_MOHUA="Mohua_07-09-05"
P_AZAD="Godhuli_03-09-2005"
P_PUJA="Puja-17-06-2006"
P_DURGA="Durga_03-09-2005"
P_SARASWATII="Saraswatii_03-09-2005"
P_SHARIFA="Sharifa_03-09-2005"
P_SUMIT="Sumit_03-09-2005"
P_PUNARBHABA="Punarbhaba_27-02-2006"
P_SOLAIMANLIPI="SolaimanLipi_20-04-07"
P_RUPALI="Rupali_01-02-2007"

DESCRIPTION="A collection of Free fonts for the Bangla (Bengali) script"
HOMEPAGE="http://ekushey.org/index.php/page/otf_bangla_fonts"
SRC_URI="mirror://sourceforge/ekushey/${P_LOHIT}.ttf
	mirror://sourceforge/ekushey/${P_MOHUA}.ttf
	mirror://sourceforge/ekushey/${P_AZAD}.ttf
	mirror://sourceforge/ekushey/${P_PUJA}.ttf
	mirror://sourceforge/ekushey/${P_DURGA}.ttf
	mirror://sourceforge/ekushey/${P_SARASWATII}.ttf
	mirror://sourceforge/ekushey/${P_SHARIFA}.ttf
	mirror://sourceforge/ekushey/${P_SUMIT}.ttf
	mirror://sourceforge/ekushey/${P_PUNARBHABA}.ttf
	mirror://sourceforge/ekushey/${P_SOLAIMANLIPI}.ttf
	mirror://sourceforge/ekushey/${P_RUPALI}.ttf"

LICENSE="GPL-2 OFL-1.1"
SLOT="0"
KEYWORDS="amd64 x86"
IUSE=""

DEPEND=""
RDEPEND=""

FONT_S="${WORKDIR}"
S="${FONT_S}"
FONT_SUFFIX="ttf"

src_unpack() {
	cd "${S}"
	for DISTFILE in ${A}
	do
		[[ "${DISTFILE}" =~ ([A-Za-z]+) ]]
		local FONTNAME="${BASH_REMATCH[1]}"
		cp -a "${DISTDIR}/${DISTFILE}" "${S}/${FONTNAME}.ttf"
	done
}

DOCS=""