summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
author Carlos Corbacho <carlos@strangeworlds.co.uk>2012-12-02 12:35:09 -0500
committer dsomero <xgizzmo@slackbuilds.org>2012-12-11 16:21:53 -0500
commit4b06daf9909b098f5be08e24fd993a7ffeb75fea (patch)
tree68d6752e4bf5a700846d464774465b1d65f5d3a9
parentb801a671c603825d164206f0157511f5c8cbf220 (diff)
downloadslackbuilds-4b06daf9909b098f5be08e24fd993a7ffeb75fea.tar.gz
slackbuilds-4b06daf9909b098f5be08e24fd993a7ffeb75fea.tar.xz
system/kcm_touchpad: Fix appear again as a tab in 'Input Devices'
Signed-off-by: dsomero <xgizzmo@slackbuilds.org>
-rw-r--r--system/kcm_touchpad/kcm_touchpad.SlackBuild8
1 files changed, 5 insertions, 3 deletions
diff --git a/system/kcm_touchpad/kcm_touchpad.SlackBuild b/system/kcm_touchpad/kcm_touchpad.SlackBuild
index 02b5334e0b..3945569cf0 100644
--- a/system/kcm_touchpad/kcm_touchpad.SlackBuild
+++ b/system/kcm_touchpad/kcm_touchpad.SlackBuild
@@ -1,6 +1,5 @@
#!/bin/sh
-
-# Copyright 2010 Carlos Corbacho <carlos@strangeworlds.co.uk>
+# Copyright 2010, 2012 Carlos Corbacho <carlos@strangeworlds.co.uk>
# All rights reserved.
#
# Redistribution and use of this script, with or without modification, is
@@ -25,7 +24,7 @@ PRGNAM=kcm_touchpad
VERSION=${VERSION:-0.3.1}
GIT_REVISION=${GIT_VERSION:-00370b5}
-BUILD=${BUILD:-1}
+BUILD=${BUILD:-2}
TAG=${TAG:-_SBo}
if [ -z "$ARCH" ]; then
@@ -66,6 +65,9 @@ rm -rf mishaaq-$PRGNAM-$GIT_REVISION
tar xvf $CWD/mishaaq-$PRGNAM-$PRGNAM-$VERSION-0-g$GIT_REVISION.tar.gz
cd mishaaq-$PRGNAM-$GIT_REVISION
+# Make this appear under 'Input Actions' again in newer KDE releases
+sed -i s/keyboard-and-mouse/input-devices/ touchpad.desktop
+
chown -R root:root .
find . \
\( -perm 777 -o -perm 775 -o -perm 711 -o -perm 555 -o -perm 511 \) \