summaryrefslogtreecommitdiffstats
path: root/desktop/wmweather+/wmweather+.SlackBuild
diff options
context:
space:
mode:
Diffstat (limited to 'desktop/wmweather+/wmweather+.SlackBuild')
-rw-r--r--desktop/wmweather+/wmweather+.SlackBuild13
1 files changed, 11 insertions, 2 deletions
diff --git a/desktop/wmweather+/wmweather+.SlackBuild b/desktop/wmweather+/wmweather+.SlackBuild
index fe352d0462..01ee2ea156 100644
--- a/desktop/wmweather+/wmweather+.SlackBuild
+++ b/desktop/wmweather+/wmweather+.SlackBuild
@@ -35,9 +35,13 @@
# - install binary stripped
# - i486 => i586
+# 20170121 bkw:
+# - update for v2.16.
+# - use xmore as default viewer
+
PRGNAM=wmweather+
-VERSION=${VERSION:-2.15}
-BUILD=${BUILD:-2}
+VERSION=${VERSION:-2.16}
+BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
if [ -z "$ARCH" ]; then
@@ -82,6 +86,11 @@ find -L . \
\( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \
-o -perm 440 -o -perm 400 \) -exec chmod 644 {} \;
+# Default viewer needs to be something that Slack actually has.
+# Note that "xterm -e less" doesn't work: it doesn't read from the
+# xterm's stdin.
+sed -i 's,xless,xmore,g' $PRGNAM.1.in $PRGNAM.c
+
CFLAGS="$SLKCFLAGS" \
CXXFLAGS="$SLKCFLAGS" \
./configure \