diff options
Diffstat (limited to 'graphics/psftools/psftools.SlackBuild')
-rw-r--r-- | graphics/psftools/psftools.SlackBuild | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/graphics/psftools/psftools.SlackBuild b/graphics/psftools/psftools.SlackBuild index 026c75ae1029..1282dff0d170 100644 --- a/graphics/psftools/psftools.SlackBuild +++ b/graphics/psftools/psftools.SlackBuild @@ -120,5 +120,17 @@ cat $CWD/slack-desc > $PKG/install/slack-desc # X fonts would need this: ## cat $CWD/doinst.sh > $PKG/install/doinst.sh +# Contents of doinst.sh would be: +## # Update the X font indexes: +## if [ -x /usr/bin/mkfontdir -a -x /usr/bin/mkfontscale ]; then +## ( cd usr/share/fonts/misc +## /usr/bin/mkfontscale . +## /usr/bin/mkfontdir . +## ) +## fi +## if [ -x /usr/bin/fc-cache ]; then +## /usr/bin/fc-cache -f +## fi + cd $PKG /sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.${PKGTYPE:-tgz} |