aboutsummaryrefslogtreecommitdiff
path: root/office
diff options
context:
space:
mode:
authorRobby Workman <rworkman@slackbuilds.org>2014-01-30 15:22:06 -0600
committerRobby Workman <rworkman@slackbuilds.org>2014-01-30 17:13:46 -0600
commit4d9d1c2a6f1c607ea96d2a101fb8b61f5b149c94 (patch)
treedf3621a3ece0a0d7b05a375c04cc1d0111d81df2 /office
parent481db97cc9998abe8f022040e2324611f5352ea2 (diff)
office/abiword: Fixed icon installation
I missed an upstream bugfix in how/where they install the icon and that caused a bug with no icon being displayed in the menu. Thanks to G.L.N. and Володимир Ященко for the report. Signed-off-by: Robby Workman <rworkman@slackbuilds.org>
Diffstat (limited to 'office')
-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 ac38831c387c..5361f3345d0f 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 e87623941d44..a53e92087ec6 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
+