You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
gentoo-overlay/media-fonts/ekushey-bangla-fonts/ekushey-bangla-fonts-200704...

56 lines
1.4 KiB

# Copyright 1999-2009 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Id$
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=""