aboutsummaryrefslogtreecommitdiff
path: root/desktop/q4wine
diff options
context:
space:
mode:
Diffstat (limited to 'desktop/q4wine')
-rw-r--r--desktop/q4wine/doinst.sh7
-rw-r--r--desktop/q4wine/q4wine.SlackBuild8
2 files changed, 10 insertions, 5 deletions
diff --git a/desktop/q4wine/doinst.sh b/desktop/q4wine/doinst.sh
index 65fd352418759..ee51833f41789 100644
--- a/desktop/q4wine/doinst.sh
+++ b/desktop/q4wine/doinst.sh
@@ -2,3 +2,10 @@ if [ -x /usr/bin/update-desktop-database ]; then
/usr/bin/update-desktop-database usr/share/applications >/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
+
+
diff --git a/desktop/q4wine/q4wine.SlackBuild b/desktop/q4wine/q4wine.SlackBuild
index fe5f8ec21a8d8..98771e8c59626 100644
--- a/desktop/q4wine/q4wine.SlackBuild
+++ b/desktop/q4wine/q4wine.SlackBuild
@@ -2,7 +2,7 @@
# Slackware build script for qt4wine
-# Copyright 2009-2010 David Somero <dsomero@hotmail.com> Athens,TN USA
+# Copyright 2009-2012 David Somero <dsomero@hotmail.com> Athens,TN USA
# All rights reserved.
#
# Redistribution and use of this script, with or without modification, is
@@ -24,15 +24,13 @@
PRGNAM=q4wine
VERSION=${VERSION:-0.999_rc8}
-BUILD=${BUILD:-1}
+BUILD=${BUILD:-2}
TAG=${TAG:-_SBo}
-# Automatically determine the architecture we're building on:
if [ -z "$ARCH" ]; then
case "$( uname -m )" in
i?86) ARCH=i486 ;;
arm*) ARCH=arm ;;
- # Unless $ARCH is already set, use uname -m for all other archs:
*) ARCH=$( uname -m ) ;;
esac
fi
@@ -90,7 +88,7 @@ mkdir build
find $PKG | xargs file | grep -e "executable" -e "shared object" | grep ELF \
| cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true
-# Move man pages in in the correct place and compress them
+# Move man pages in to the correct place and compress them.
mv $PKG/usr/share/man $PKG/usr/man
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