summaryrefslogtreecommitdiff
path: root/system/clamtk/clamtk.SlackBuild
diff options
context:
space:
mode:
Diffstat (limited to 'system/clamtk/clamtk.SlackBuild')
-rw-r--r--system/clamtk/clamtk.SlackBuild8
1 files changed, 5 insertions, 3 deletions
diff --git a/system/clamtk/clamtk.SlackBuild b/system/clamtk/clamtk.SlackBuild
index 0c06817d06..96b5605a79 100644
--- a/system/clamtk/clamtk.SlackBuild
+++ b/system/clamtk/clamtk.SlackBuild
@@ -26,7 +26,7 @@
# https://aur.archlinux.org/packages/clamtk/
PRGNAM=clamtk
-VERSION=${VERSION:-5.05}
+VERSION=${VERSION:-5.06}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
@@ -68,12 +68,14 @@ cd $PRGNAM-$VERSION
chown -R root:root .
find -L . \
\( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 \
- -o -perm 511 \) -exec chmod 755 {} \; -o \
+ -o -perm 511 \) -exec chmod 755 {} \; -o \
\( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \
-o -perm 440 -o -perm 400 \) -exec chmod 644 {} \;
-# Change the menu category to System
+# Change the menu category to System and make sure the menu entry
+# shows in other desktops than GNOME.
sed -i "s:Categories=GTK;GNOME;Utility;:Categories=System;:" $PRGNAM.desktop
+sed -i "s:OnlyShowIn=GNOME;:#OnlyShowIn=GNOME;:" $PRGNAM.desktop
install -D -m755 $PRGNAM $PKG/usr/bin/$PRGNAM