summaryrefslogtreecommitdiffstats
path: root/webcore-fonts-installer
diff options
context:
space:
mode:
Diffstat (limited to 'webcore-fonts-installer')
-rwxr-xr-xwebcore-fonts-installer/build/webcore-fonts-installer.SlackBuild7
1 files changed, 5 insertions, 2 deletions
diff --git a/webcore-fonts-installer/build/webcore-fonts-installer.SlackBuild b/webcore-fonts-installer/build/webcore-fonts-installer.SlackBuild
index b248450e..de0fe4df 100755
--- a/webcore-fonts-installer/build/webcore-fonts-installer.SlackBuild
+++ b/webcore-fonts-installer/build/webcore-fonts-installer.SlackBuild
@@ -103,15 +103,18 @@ echo "++"
# This command was used to create zero-byte placeholder files for the downloade
# fonts, so that "removepkg webcore-fonts-installer" will actually remove the
-# downloaded font files as well:
-# mkdir -p tmp/usr/share/fonts/TTF/{}
+# downloaded font files and documentation as well:
+# mkdir -p tmp/usr/share/fonts/TTF
# tar -ztvf webcore-fonts-3.0.tar.gz | grep -E '/vista/|/fonts/' | rev | cut -d/ -f1 | rev |xargs -I{} touch tmp/usr/share/fonts/TTF/{}
+# mkdir -p tmp/usr/doc/webcore-fonts-installer
+# tar -ztvf webcore-fonts-3.0.tar.gz | grep /doc/ | rev | cut -d/ -f1 | rev |xargs -I{} touch tmp/usr/doc/webcore-fonts-installer/{}
# (cd tmp && tar -zcvf ../_webcore-fonts-installer.tar.gz .)
# Explode the package framework:
if [ -f $SRCDIR/_$PRGNAM.tar.gz ]; then
cd $PKG
explodepkg $SRCDIR/_$PRGNAM.tar.gz
+ mv usr/doc/$PRGNAM usr/doc/$PRGNAM-$VERSION
cd -
fi