Fix directory of installation of fonts

Also, do not install README as it only contains licensing information or is
the same text as the DESCRIPTION.
This commit is contained in:
Timothy Gu
2014-12-23 16:39:34 +00:00
parent d2acb40055
commit 21676bb201
40 changed files with 103 additions and 110 deletions

View File

@@ -8,8 +8,7 @@ contributions.
HOMEPAGE="http://projects.arabeyes.org/project.php?proj=Khotot"
SRC_URI="http://sourceforge.net/projects/arabeyes/files/Fonts/ae_fonts/ae_fonts1_ttf_1.1.tar.bz2"
CHECKSUM_SHA256="c517f6ac0643d2416101c9b375be38ec4fe7810b7ad3a1465438dd45b819e054"
REVISION="1"
DEPEND=""
REVISION="2"
LICENSE="GNU GPL v2"
COPYRIGHT="2003-2007 Arabeyes.org
2002-2005 Free Software Foundation"
@@ -21,26 +20,24 @@ PROVIDES="arabeyes_fonts = $portVersion"
REQUIRES=""
BUILD_REQUIRES=""
BUILD_PREREQUIRES="
cmd:tar
coreutils
"
SOURCE_DIR="ae_fonts1-1.1"
SOURCE_DIR="ae_fonts1-1.1/"
BUILD()
{
tar xvjf $portDir/download/ae_fonts1_ttf_1.1.tar.bz2
true
}
INSTALL()
{
cd ae_fonts1-1.1
FONTDIR=$fontsDir/arabeyes
FONTDIR=$fontsDir/ttfonts
mkdir -p ${FONTDIR}
cp -rd AAHS ${FONTDIR}/
cp -rd AGA ${FONTDIR}/
cp -rd FS ${FONTDIR}/
cp -rd Kasr ${FONTDIR}/
cp -rd MCS ${FONTDIR}/
cp -rd Shmookh ${FONTDIR}/
cp AAHS/*.ttf ${FONTDIR}/
cp AGA/*.ttf ${FONTDIR}/
cp FS/*.ttf ${FONTDIR}/
cp Kasr/*.ttf ${FONTDIR}/
cp MCS/*.ttf ${FONTDIR}/
cp Shmookh/*.ttf ${FONTDIR}/
}