diff options
-rw-r--r-- | desktop/fusion-icon/doinst.sh | 10 | ||||
-rw-r--r-- | desktop/fusion-icon/fusion-icon.SlackBuild | 10 | ||||
-rw-r--r-- | desktop/fusion-icon/fusion-icon.info | 8 |
3 files changed, 15 insertions, 13 deletions
diff --git a/desktop/fusion-icon/doinst.sh b/desktop/fusion-icon/doinst.sh index a61bc59590f1..76cc38a548b1 100644 --- a/desktop/fusion-icon/doinst.sh +++ b/desktop/fusion-icon/doinst.sh @@ -1,7 +1,9 @@ -if [ -x /usr/bin/gtk-update-icon-cache ]; then - /usr/bin/gtk-update-icon-cache -f -t usr/share/icons/hicolor >/dev/null 2>&1 -fi - 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/fusion-icon/fusion-icon.SlackBuild b/desktop/fusion-icon/fusion-icon.SlackBuild index 78bcecdb57ee..79c525da47ef 100644 --- a/desktop/fusion-icon/fusion-icon.SlackBuild +++ b/desktop/fusion-icon/fusion-icon.SlackBuild @@ -5,7 +5,7 @@ # Written by M.Dinslage (daedra1980@gmail.com) PRGNAM=fusion-icon -VERSION=${VERSION:-20100612} +VERSION=${VERSION:-20080213} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} @@ -30,10 +30,10 @@ elif [ "$ARCH" = "i686" ]; then LIBDIRSUFFIX="" elif [ "$ARCH" = "x86_64" ]; then SLKCFLAGS="-O2 -fPIC" - SLKLDFLAGS="-L/usr/lib64"; LIBDIRSUFFIX="64" + LIBDIRSUFFIX="64" else SLKCFLAGS="-O2" - SLKLDFLAGS=""; LIBDIRSUFFIX="" + LIBDIRSUFFIX="" fi set -e @@ -42,8 +42,8 @@ rm -rf $PKG mkdir -p $TMP $PKG $OUTPUT cd $TMP rm -rf $PRGNAM-$VERSION -tar xvf $CWD/$PRGNAM.tar.gz -cd $PRGNAM +tar xvf $CWD/$PRGNAM-$VERSION.tar.gz +cd $PRGNAM-$VERSION chown -R root:root . find . \ \( -perm 777 -o -perm 775 -o -perm 711 -o -perm 555 -o -perm 511 \) \ diff --git a/desktop/fusion-icon/fusion-icon.info b/desktop/fusion-icon/fusion-icon.info index d74e248e6db4..fa6487f04e0d 100644 --- a/desktop/fusion-icon/fusion-icon.info +++ b/desktop/fusion-icon/fusion-icon.info @@ -1,10 +1,10 @@ PRGNAM="fusion-icon" -VERSION="20100612" +VERSION="20080213" HOMEPAGE="http://www.compiz.org" -DOWNLOAD="http://www.mostlyslack.com/slackstuff/sources/fusion-icon.tar.gz" -MD5SUM="df69969a8e55627ea1ccebc63ec64f95" +DOWNLOAD="http://pkgs.fedoraproject.org/repo/pkgs/fusion-icon/fusion-icon-20080213.tar.gz/8073ef16b388d42c63076b64d12efdf8/fusion-icon-20080213.tar.gz" +MD5SUM="8073ef16b388d42c63076b64d12efdf8" DOWNLOAD_x86_64="" MD5SUM_x86_64="" MAINTAINER="M.Dinslage" EMAIL="daedra1980@gmail.com" -APPROVED="Erik Hanson" +APPROVED="dsomero" |