aboutsummaryrefslogtreecommitdiff
path: root/system/suckless-tools/suckless-tools.SlackBuild
diff options
context:
space:
mode:
authorB. Watson <yalhcru@gmail.com>2021-08-23 14:53:22 -0400
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2021-10-13 00:51:36 +0700
commit04a2dfd617f8be86fd8eef53a6bf807cc57a78bb (patch)
tree2220e8cc3468e5e4828e06b3acb2f15e7feb6604 /system/suckless-tools/suckless-tools.SlackBuild
parent544762d9b4cc57ade80afe7156038e88ffcc5679 (diff)
system/suckless-tools: Reflow README.
Signed-off-by: B. Watson <yalhcru@gmail.com> Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'system/suckless-tools/suckless-tools.SlackBuild')
-rw-r--r--system/suckless-tools/suckless-tools.SlackBuild13
1 files changed, 5 insertions, 8 deletions
diff --git a/system/suckless-tools/suckless-tools.SlackBuild b/system/suckless-tools/suckless-tools.SlackBuild
index d59c048f53b63..2aad6a998c32b 100644
--- a/system/suckless-tools/suckless-tools.SlackBuild
+++ b/system/suckless-tools/suckless-tools.SlackBuild
@@ -6,6 +6,9 @@
# Licensed under the WTFPL. See http://www.wtfpl.net/txt/copying/ for details.
+# 20210823 bkw: note to self: don't try to upgrade lsw to 0.3. It
+# doesn't actually work (0.2 does).
+
PROGS="lsw lsx sprop sselp ssid swarp wmname xssstate"
cd $(dirname $0) ; CWD=$(pwd)
@@ -24,9 +27,6 @@ if [ -z "$ARCH" ]; then
esac
fi
-# If the variable PRINT_PACKAGE_NAME is set, then this script will report what
-# the name of the created package would be, and then exit. This information
-# could be useful to other scripts.
if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then
echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE"
exit 0
@@ -75,11 +75,8 @@ for prog in $PROGS; do
toolver=$( echo $dir | cut -d- -f2 )
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 {} \+
sed -i -e "s,-O.\>,$SLKCFLAGS," -e "s,\<lib\>,lib$LIBDIRSUFFIX," config.mk