system/suckless-tools: Reflow README.

Signed-off-by: B. Watson <yalhcru@gmail.com>

Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
This commit is contained in:
B. Watson 2021-08-23 14:53:22 -04:00 committed by Willy Sudiarto Raharjo
parent 544762d9b4
commit 04a2dfd617
No known key found for this signature in database
GPG key ID: 3F617144D7238786
2 changed files with 10 additions and 13 deletions

View file

@ -5,13 +5,13 @@ bundled together in one build because they're so small and simple.
Included tools:
lsw - Lists the titles of all running X windows to stdout, similar to ls(1).
lsw - List titles of all running X windows to stdout, similar to ls(1).
lsx - List executables in a directory tree [1].
sprop - Simple X property utility.
sselp - Simple X selection printer.
ssid - Simple setsid replacement.
swarp - Simple pointer warping tool for X.
wmname - Prints/sets the window manager name property of the root window [2].
wmname - Print/set window manager name property of the root window [2].
xssstate - A simple tool to retrieve the X screensaver state.
Not included:
@ -23,9 +23,9 @@ on SlackBuilds.org.
one of these, please let me know so I can update this README.
[1] lsx would conflict with the /usr/bin/lsx from Slackware's minicom
package. To avoid this, lsx is installed as /usr/bin/lsX. If you don't use
XMODEM (or even know what it is), "rm -f /usr/bin/lsx" before installing
suckless-tools, and /usr/bin/lsx will be a symlink to lsX.
package. To avoid this, lsx is installed as /usr/bin/lsX. If you don't
use XMODEM (or even know what it is), "rm -f /usr/bin/lsx" before
installing suckless-tools, and /usr/bin/lsx will be a symlink to lsX.
[2] wmname has been packaged separately (as desktop/wmname). This build
gives you the same version of wmname, plus a man page for it, so the

View file

@ -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