liberation-fonts-ttf: using 'fontrootdir=/usr/share/fonts', rework of build and install scripts

Signed-off-by: Stephan Raue <stephan@openelec.tv>
This commit is contained in:
Stephan Raue 2011-02-04 14:16:41 +01:00
parent 44b86705dc
commit 988bd30300

View File

@ -22,10 +22,10 @@
. config/options $1
mkdir -p $INSTALL/usr/share/fonts/liberation
cp $PKG_BUILD/*.ttf $INSTALL/usr/share/fonts/liberation
mkfontdir $INSTALL/usr/share/fonts/liberation
mkfontscale $INSTALL/usr/share/fonts/liberation
FONTDIR="$INSTALL/usr/share/fonts/liberation"
mkdir -p $INSTALL/$XORG_PATH_FONTS/
ln -sf /usr/share/fonts/liberation $INSTALL/$XORG_PATH_FONTS/
mkdir -p $FONTDIR
cp $PKG_BUILD/*.ttf $FONTDIR
mkfontdir $FONTDIR
mkfontscale $FONTDIR