aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorWilly Sudiarto Raharjo <willysr@slackware-id.org>2013-11-10 09:40:32 +0700
committerRobby Workman <rworkman@slackbuilds.org>2013-11-11 10:53:35 -0600
commit578621351fc51a34e7163d483e12460d20cb60e5 (patch)
tree64d3e66c0dc6b060a5e99d33ea65335cd7e42c63
parent99142412b6ba9b0d2a9b37bd3a8b549708109852 (diff)
system/zarfy: Fixed typo on slack-desc and script cleanup
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackware-id.org> Signed-off-by: Robby Workman <rworkman@slackbuilds.org>
-rw-r--r--system/zarfy/slack-desc2
-rw-r--r--system/zarfy/zarfy.SlackBuild8
2 files changed, 5 insertions, 5 deletions
diff --git a/system/zarfy/slack-desc b/system/zarfy/slack-desc
index 4790181583398..487a8951c291d 100644
--- a/system/zarfy/slack-desc
+++ b/system/zarfy/slack-desc
@@ -10,7 +10,7 @@ zarfy: zarfy (gui to libxrandr)
zarfy:
zarfy: zarfy is a gui to libxrandr. It presents the user with a visual
zarfy: representaion of active displays on an interactive map of the
-zarfy: screen memory. It features free postioning, configuration saving,
+zarfy: screen memory. It features free positioning, configuration saving,
zarfy: scripting for R&R, and an alternate gui for switching monitors.
zarfy:
zarfy:
diff --git a/system/zarfy/zarfy.SlackBuild b/system/zarfy/zarfy.SlackBuild
index 5cfe2fa967698..18ee1d21e29f0 100644
--- a/system/zarfy/zarfy.SlackBuild
+++ b/system/zarfy/zarfy.SlackBuild
@@ -25,7 +25,7 @@
# Maintained by Marc Dix
PRGNAM=zarfy
-VERSION=0.1.0
+VERSION=${VERSION:-0.1.0}
BUILD=${BUILD:-2}
TAG=${TAG:-_SBo}
@@ -66,11 +66,11 @@ tar xvf $CWD/$PRGNAM-$VERSION.tar.bz2
cd $PRGNAM-$VERSION
chown -R root:root .
chown -R root:root .
-find . \
+find -L . \
\( -perm 777 -o -perm 775 -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 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \
+ -o -perm 440 -o -perm 400 \) -exec chmod 644 {} \;
CFLAGS="$SLKCFLAGS" \
CXXFLAGS="$SLKCFLAGS" \