summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--office/abiword/abiword.SlackBuild5
-rw-r--r--office/abiword/doinst.sh6
2 files changed, 7 insertions, 4 deletions
diff --git a/office/abiword/abiword.SlackBuild b/office/abiword/abiword.SlackBuild
index ac38831c38..5361f3345d 100644
--- a/office/abiword/abiword.SlackBuild
+++ b/office/abiword/abiword.SlackBuild
@@ -29,7 +29,7 @@
PRGNAM=abiword
VERSION=3.0.0
DOCSVER=$VERSION # version of abiword-docs
-BUILD=${BUILD:-1}
+BUILD=${BUILD:-2}
TAG=${TAG:-_SBo}
if [ -z "$ARCH" ]; then
@@ -120,9 +120,6 @@ find $PKG | xargs file | grep -e "executable" -e "shared object" | grep ELF \
find $PKG/usr/man -type f -exec gzip -9 {} \;
for i in $( find $PKG/usr/man -type l ) ; do ln -s $( readlink $i ).gz $i.gz ; rm $i ; done
-# No need to clutter up the toplevel /usr/share/icons
-mv $PKG/usr/share/icons $PKG/usr/share/pixmaps
-
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
cp -a \
*.txt *.TXT AUTHORS COPYING ChangeLog INSTALL NEWS README \
diff --git a/office/abiword/doinst.sh b/office/abiword/doinst.sh
index e87623941d..a53e92087e 100644
--- a/office/abiword/doinst.sh
+++ b/office/abiword/doinst.sh
@@ -6,3 +6,9 @@ if [ -x /usr/bin/update-mime-database ]; then
/usr/bin/update-mime-database ./usr/share/mime >/dev/null 2>&1
fi
+if [ -e usr/share/icons/hicolor/icon-theme.cache ]; then
+ if [ -x /usr/bin/gtk-update-icon-cache ]; then
+ /usr/bin/gtk-update-icon-cache usr/share/icons/hicolor >/dev/null 2>&1
+ fi
+fi
+