summaryrefslogtreecommitdiffstats
path: root/desktop/wmdl
diff options
context:
space:
mode:
author B. Watson <yalhcru@gmail.com>2021-09-09 03:50:43 -0400
committer Willy Sudiarto Raharjo <willysr@slackbuilds.org>2021-10-13 00:52:07 +0700
commit905e5c81154cd6499beee68920d557335122603e (patch)
tree7cb8ee0671441a50848bb8c74caaa34798d69449 /desktop/wmdl
parent1f382bb647c14b9f2ffb253afe7fd42c82b9aad4 (diff)
downloadslackbuilds-905e5c81154cd6499beee68920d557335122603e.tar.gz
slackbuilds-905e5c81154cd6499beee68920d557335122603e.tar.xz
desktop/wmdl: Remove template comment.
Signed-off-by: B. Watson <yalhcru@gmail.com> Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'desktop/wmdl')
-rw-r--r--desktop/wmdl/README6
-rw-r--r--desktop/wmdl/slack-desc6
-rw-r--r--desktop/wmdl/wmdl.SlackBuild10
3 files changed, 8 insertions, 14 deletions
diff --git a/desktop/wmdl/README b/desktop/wmdl/README
index d7289d0b12..810539e027 100644
--- a/desktop/wmdl/README
+++ b/desktop/wmdl/README
@@ -1,4 +1,4 @@
-Window Maker DOOM load meter
+wmdl (WindowMaker DOOM load meter)
-A simple LOAD or CPU meter using ID Software's DOOM faces.
-( More Bloody = more system load or CPU usage ).
+A simple load or CPU meter using ID Software's DOOM faces.
+More Bloody = more system load or CPU usage.
diff --git a/desktop/wmdl/slack-desc b/desktop/wmdl/slack-desc
index 2d1c50f56d..dc8d3d812e 100644
--- a/desktop/wmdl/slack-desc
+++ b/desktop/wmdl/slack-desc
@@ -6,10 +6,10 @@
# customary to leave one space after the ':' except on otherwise blank lines.
|-----handy-ruler------------------------------------------------------|
-wmdl: wmdl (Window Maker DOOM load meter)
+wmdl: wmdl (WindowMaker DOOM load meter)
wmdl:
-wmdl: A simple LOAD or CPU meter using ID Software's DOOM faces.
-wmdl: ( More Bloody = more system load or CPU usage ).
+wmdl: A simple load or CPU meter using ID Software's DOOM faces.
+wmdl: More Bloody = more system load or CPU usage.
wmdl:
wmdl:
wmdl:
diff --git a/desktop/wmdl/wmdl.SlackBuild b/desktop/wmdl/wmdl.SlackBuild
index 128863058e..3fafdaf92f 100644
--- a/desktop/wmdl/wmdl.SlackBuild
+++ b/desktop/wmdl/wmdl.SlackBuild
@@ -30,9 +30,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
@@ -65,11 +62,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 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 {} \+
make CFLAGS="$SLKCFLAGS"
mkdir -p $PKG/usr/bin