#!/bin/sh

. config/options

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

mkdir -p $INSTALL/$XORG_PATH_FONTS/
ln -sf /usr/share/fonts/liberation $INSTALL/$XORG_PATH_FONTS/

#mkdir -p $INSTALL/$XORG_PATH_FONTS/TTF/
#cp $PKG_BUILD/*.ttf $INSTALL/$XORG_PATH_FONTS/TTF/
#mkfontdir $INSTALL/$XORG_PATH_FONTS/TTF/
#mkfontscale $INSTALL/$XORG_PATH_FONTS/TTF/

#mkdir -p $INSTALL/$XORG_PATH_FONTS/
#ln -sf /usr/share/fonts/liberation $INSTALL/$XORG_PATH_FONTS/
