aboutsummaryrefslogtreecommitdiff
path: root/graphics
diff options
context:
space:
mode:
authorB. Watson <yalhcru@gmail.com>2020-01-03 18:49:41 -0500
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2020-01-12 08:47:40 +0700
commit8c405bf55bb7763bf81f9b98b76cb70962ae4082 (patch)
tree9f2a7b222de397e5a289d916f2067c1ef9af4e15 /graphics
parentf4491dfdc3d2e1f2da18ad251c37b5743732c135 (diff)
graphics/psftools: Add comments about former doinst.sh.
Signed-off-by: B. Watson <yalhcru@gmail.com>
Diffstat (limited to 'graphics')
-rw-r--r--graphics/psftools/psftools.SlackBuild12
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}