aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--desktop/wmcellauto/wmcellauto.SlackBuild17
1 files changed, 14 insertions, 3 deletions
diff --git a/desktop/wmcellauto/wmcellauto.SlackBuild b/desktop/wmcellauto/wmcellauto.SlackBuild
index a9295d1fcd..42d76a6953 100644
--- a/desktop/wmcellauto/wmcellauto.SlackBuild
+++ b/desktop/wmcellauto/wmcellauto.SlackBuild
@@ -6,11 +6,13 @@
# Licensed under the WTFPL. See http://www.wtfpl.net/txt/copying/ for details.
+# 20250910 bkw: BUILD=2, minor corrections to man page.
+
cd $(dirname $0) ; CWD=$(pwd)
PRGNAM=wmcellauto
VERSION=${VERSION:-0.1}
-BUILD=${BUILD:-1}
+BUILD=${BUILD:-2}
TAG=${TAG:-_SBo}
PKGTYPE=${PKGTYPE:-tgz}
@@ -54,8 +56,17 @@ rm -rf $PRGNAM-$VERSION
tar xvf $CWD/$PRGNAM-$VERSION.tar.gz
cd $PRGNAM-$VERSION
chown -R root:root .
-find -L . -perm /111 -a \! -perm 755 -a -exec chmod 755 {} \+ -o \
- \! -perm /111 -a \! -perm 644 -a -exec chmod 644 {} \+
+find -L . -perm /111 -a \! -perm 755 -a -exec chmod 755 {} + -o \
+ \! -perm /111 -a \! -perm 644 -a -exec chmod 644 {} +
+
+# 20250910 bkw: Man page: did the name change at some point? Also add
+# the version number and update the modification date.
+DATE="$( date '+%B %Y' )"
+sed -i -e 's,wmautocell,wmcellauto,g' \
+ -e 's,WMAUTOCELL,WMCELLAUTO,g' \
+ -e '/\.TH/s,$, "'$VERSION'",' \
+ -e "s,March 2017,$DATE," \
+ $PRGNAM.1
autoreconf -if