aboutsummaryrefslogtreecommitdiff
path: root/accessibility/unclutter-xfixes/unclutter-xfixes.SlackBuild
diff options
context:
space:
mode:
Diffstat (limited to 'accessibility/unclutter-xfixes/unclutter-xfixes.SlackBuild')
-rw-r--r--accessibility/unclutter-xfixes/unclutter-xfixes.SlackBuild9
1 files changed, 3 insertions, 6 deletions
diff --git a/accessibility/unclutter-xfixes/unclutter-xfixes.SlackBuild b/accessibility/unclutter-xfixes/unclutter-xfixes.SlackBuild
index c84d95cb5e7bf..afe1cd17a7631 100644
--- a/accessibility/unclutter-xfixes/unclutter-xfixes.SlackBuild
+++ b/accessibility/unclutter-xfixes/unclutter-xfixes.SlackBuild
@@ -7,7 +7,7 @@
# Licensed under the WTFPL. See http://www.wtfpl.net/txt/copying/ for details.
PRGNAM=unclutter-xfixes
-VERSION=${VERSION:-1.3}
+VERSION=${VERSION:-1.4}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
@@ -47,11 +47,8 @@ rm -rf $PRGNAM-$VERSION
tar xvf $CWD/$PRGNAM-$VERSION.tar.gz
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 \
- \( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \
- -o -perm 440 -o -perm 400 \) -exec chmod 644 {} \;
+find -L . -perm /111 -a \! -perm 755 -a -exec chmod 755 {} \+ -o \
+ \! -perm /111 -a \! -perm 644 -a -exec chmod 644 {} \+
# SBo libev has event.h in nonstandard dir
sed -i "/-Wall/s,\$, $SLKCFLAGS -I/usr/include/libev," Makefile