summaryrefslogtreecommitdiffstats
path: root/desktop/awn-extras/awn-extras.SlackBuild
diff options
context:
space:
mode:
Diffstat (limited to 'desktop/awn-extras/awn-extras.SlackBuild')
-rw-r--r--desktop/awn-extras/awn-extras.SlackBuild11
1 files changed, 6 insertions, 5 deletions
diff --git a/desktop/awn-extras/awn-extras.SlackBuild b/desktop/awn-extras/awn-extras.SlackBuild
index c4c039f706..9352bf77bf 100644
--- a/desktop/awn-extras/awn-extras.SlackBuild
+++ b/desktop/awn-extras/awn-extras.SlackBuild
@@ -3,6 +3,7 @@
# Slackware build script for awn-extras
# Copyright (c) 2010 Roberto Metere. All rights reserved.
+# Copyright 2014 Ryan P.C. McQuen, WA, ryan.q@linux.com
#
# Redistribution and use in source and binary forms, with or without
# modification, are permitted provided that the following conditions are
@@ -24,7 +25,7 @@
# OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
PRGNAM=awn-extras
-VERSION=0.4.0
+VERSION=${VERSION:-0.4.0}
BUILD=${BUILD:-2}
TAG=${TAG:-SBo}
@@ -65,10 +66,10 @@ 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 600 -o -perm 444 -o -perm 440 -o -perm 400 \) \
- -exec chmod 644 {} \;
+ \( -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 {} \;
# Starting with glib 2.32 it is now mandatory to
# include glib.h instead of individual headers.