graphics/psftools: Add comments about former doinst.sh.

Signed-off-by: B. Watson <yalhcru@gmail.com>
This commit is contained in:
B. Watson 2020-01-03 18:49:41 -05:00 committed by Willy Sudiarto Raharjo
parent f4491dfdc3
commit 8c405bf55b
No known key found for this signature in database
GPG Key ID: 887B8374D7333381
1 changed files with 12 additions and 0 deletions

View File

@ -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}