aboutsummaryrefslogtreecommitdiff
path: root/system/wmgtemp/wmgtemp.SlackBuild
diff options
context:
space:
mode:
authorB. Watson <yalhcru@gmail.com>2021-08-09 17:30:47 -0400
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2021-10-13 00:51:32 +0700
commit0bcd97b39d65b992d2314a21cc029cb9af9c52ff (patch)
treedcd58ea64bb665da9c1bbedc1eb9f4a324924b39 /system/wmgtemp/wmgtemp.SlackBuild
parentcf15955a375e3f696d3b1cc27574b2c11fb603f1 (diff)
system/wmgtemp: Minor fixes.
Signed-off-by: B. Watson <yalhcru@gmail.com> Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'system/wmgtemp/wmgtemp.SlackBuild')
-rw-r--r--system/wmgtemp/wmgtemp.SlackBuild14
1 files changed, 10 insertions, 4 deletions
diff --git a/system/wmgtemp/wmgtemp.SlackBuild b/system/wmgtemp/wmgtemp.SlackBuild
index f5cd51c8bcf41..8e2b5aee43685 100644
--- a/system/wmgtemp/wmgtemp.SlackBuild
+++ b/system/wmgtemp/wmgtemp.SlackBuild
@@ -28,7 +28,13 @@
# Now maintained by B. Watson <yalhcru@gmail.com>
+# 20210809 bkw: minor fixes, BUILD=2
+# - manpage: fix typo, corrosponding => corresponding
+# - manpage: remove BUGS section since it no longer applies
+# - don't segfault if HOME not set in environment
+
# 20200609 bkw: update for v1.2, add libdockapp dep
+
# 20160816 bkw:
# - take over maintenance
# - BUILD=2
@@ -42,7 +48,7 @@ cd $(dirname $0) ; CWD=$(pwd)
PRGNAM=wmgtemp
VERSION=${VERSION:-1.2}
-BUILD=${BUILD:-1}
+BUILD=${BUILD:-2}
TAG=${TAG:-_SBo}
PKGTYPE=${PKGTYPE:-tgz}
@@ -54,9 +60,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
@@ -92,6 +95,9 @@ 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 {} \+
+# Various minor fixes by SlackBuild author
+patch -p1 < $CWD/fixes.diff
+
CFLAGS="$SLKCFLAGS" \
CXXFLAGS="$SLKCFLAGS" \
./configure \