summaryrefslogtreecommitdiff
path: root/office
diff options
context:
space:
mode:
authorAlfredo Tomasini <alfredo.tomasini@synaptics.com>2014-11-26 19:45:57 +0700
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2014-11-26 19:45:57 +0700
commitfaacc9e8f460aeaac481f7dc7784c60a1493b287 (patch)
treec29a4f81c0bc66131a4ccbe44f74e41713416f41 /office
parent29085d0e9482097f259e08a8dc0617b92f521b03 (diff)
downloadslackbuilds-faacc9e8f460aeaac481f7dc7784c60a1493b287.tar.gz
office/htmldoc: Add missing fonts.
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'office')
-rw-r--r--office/htmldoc/htmldoc.SlackBuild4
1 files changed, 3 insertions, 1 deletions
diff --git a/office/htmldoc/htmldoc.SlackBuild b/office/htmldoc/htmldoc.SlackBuild
index 8378dbc8f4..6ff64f3fb7 100644
--- a/office/htmldoc/htmldoc.SlackBuild
+++ b/office/htmldoc/htmldoc.SlackBuild
@@ -27,7 +27,7 @@
PRGNAM=htmldoc
VERSION=${VERSION:-1.8.28}
-BUILD=${BUILD:-1}
+BUILD=${BUILD:-2}
TAG=${TAG:-_SBo}
if [ -z "$ARCH" ]; then
@@ -126,6 +126,8 @@ cp -a desktop/htmldoc-48.png $PKG/usr/share/icons/hicolor/48x48/apps/$PRGNAM.png
cp -a desktop/htmldoc-64.png $PKG/usr/share/icons/hicolor/64x64/apps/$PRGNAM.png
cp -a desktop/htmldoc-96.png $PKG/usr/share/icons/hicolor/96x96/apps/$PRGNAM.png
cp -a desktop/htmldoc-128.png $PKG/usr/share/icons/hicolor/128x128/apps/$PRGNAM.png
+mkdir -p $PKG/usr/share/htmldoc/fonts
+cp -a fonts $PKG/usr/share/htmldoc/fonts
find $PKG -print0 | xargs -0 file | grep -e "executable" -e "shared object" | grep ELF \
| cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true