DESCRIPTION="
X Series 2 fonts are built on freely available fonts and extended to support \
Persian, Arabic, Urdu, Pashto, Dari, Uzbek, Kurdish, Uighur, old Turkish \
(Ottoman) and modern Turkish (Roman).
"
HOMEPAGE="http://wiki.irmug.com/index.php/X_Series_2"
SRC_URI="http://irmug.com/downloads/dl.php?id=21"
REVISION="1"
STATUS_HAIKU="stable"
DEPEND=""
CHECKSUM_MD5="1e45723ebad5e748d4b5f6f28074833f"
BUILD()
{
	cd Zar
}

INSTALL()
{
	FONTDIR=${DESTDIR}/`finddir B_COMMON_FONTS_DIRECTORY`/x-series
	mkdir -p ${FONTDIR}
	wget http://irmug.com/downloads/dl.php?id=21
	unzip -o Zar.zip
	cd Zar
	cp -f *.ttf ${FONTDIR}/
	
	wget http://irmug.com/downloads/dl.php?id=3
	unzip -o Niloofar.zip
	cd Niloofar
	cp -f *.ttf ${FONTDIR}/
	
	wget http://irmug.com/downloads/dl.php?id=2
	unzip -o Khoramshahr.zip
	cd Khoramshahr
	cp -f *.ttf ${FONTDIR}/
	
	wget http://www.irmug.com/downloads/dl.php?id=1
	unzip -o Kayhan.zip
	cd Kayhan
	cp -f *.ttf ${FONTDIR}/
	
	wget http://irmug.com/downloads/dl.php?id=17
	unzip -o Yagut.zip
	cd Yagut
	cp -f *.ttf ${FONTDIR}/
	
	wget http://irmug.com/downloads/dl.php?id=5
	unzip -o Riyaz.zip
	cd Riyaz
	cp -f *.ttf ${FONTDIR}/
	
	wget http://irmug.com/downloads/dl.php?id=6
	unzip -o Roya.zip
	cd Roya
	cp -f *.ttf ${FONTDIR}/

	wget http://irmug.com/downloads/dl.php?id=7
	unzip -o Shafigh.zip
	cd Shafigh
	cp -f *.ttf ${FONTDIR}/

	wget http://irmug.com/downloads/dl.php?id=9
	unzip -o "Shafigh Kurd.zip"
	cd "Shafigh Kurd"
	cp -f *.ttf ${FONTDIR}/

	wget http://irmug.com/downloads/dl.php?id=8
	unzip -o "Shafigh Uzbek.zip"
	cd "Shafigh Uzbek"
	cp -f *.ttf ${FONTDIR}/

	wget http://irmug.com/downloads/dl.php?id=10
	unzip -o Shiraz.zip
	cd Shiraz
	cp -f *.ttf ${FONTDIR}/

	wget http://irmug.com/downloads/dl.php?id=11
	unzip -o Sols.zip
	cd Sols
	cp -f *.ttf ${FONTDIR}/

	wget http://irmug.com/downloads/dl.php?id=12
	unzip -o Tabriz.zip
	cd Tabriz
	cp -f *.ttf ${FONTDIR}/

	wget http://irmug.com/downloads/dl.php?id=13
	unzip -o Titre.zip
	cd Titre
	cp -f *.ttf ${FONTDIR}/

	wget http://irmug.com/downloads/dl.php?id=14
	unzip -o Traffic.zip
	cd Traffic
	cp -f *.ttf ${FONTDIR}/

	wget http://irmug.com/downloads/dl.php?id=4
	unzip -o Paatch.zip
	cd Paatch
	cp -f *.ttf ${FONTDIR}/

	wget http://irmug.com/downloads/dl.php?id=15
	unzip -o Vahid.zip
	cd Vahid
	cp -f *.ttf ${FONTDIR}/

	wget http://irmug.com/downloads/dl.php?id=16
	unzip -o Vosta.zip
	cd Vosta
	cp -f *.ttf ${FONTDIR}/

	wget http://irmug.com/downloads/dl.php?id=19
	unzip -o Yekan.zip
	cd Yekan
	cp -f *.ttf ${FONTDIR}/
	
	wget http://irmug.com/downloads/dl.php?id=20
	unzip -o Yermook.zip
	cd Yermook
	cp -f *.ttf ${FONTDIR}/
	
	wget http://irmug.com/downloads/dl.php?id=18
	unzip -o Yas.zip
	cd Yas
	cp -f *.ttf ${FONTDIR}/
	
	wget http://irmug.com/downloads/dl.php?id=22
	unzip -o Ziba.zip
	cd Ziba
	cp -f *.ttf ${FONTDIR}/
	
	
	
	
}

LICENSE="GNU GPL v2"
#COPYRIGHT=""
