aboutsummaryrefslogtreecommitdiff
path: root/system/clamtk/clamtk.SlackBuild
diff options
context:
space:
mode:
authorPetar Petrov <petar.petrov@student.oulu.fi>2014-05-26 08:22:27 +0700
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2014-05-26 08:22:27 +0700
commit465aa64da13937a3684e824fbe076050f7a84e1c (patch)
tree02f8f4f00ab30a3c0b3648cf70054c5d1d57244a /system/clamtk/clamtk.SlackBuild
parentfbf53a2bb208f26274a146d24bdd54e0c9402f61 (diff)
system/clamtk: Updated for version 5.06.
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
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 0c06817d06fe0..96b5605a79138 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