summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorB. Watson <yalhcru@gmail.com>2017-01-22 00:10:17 -0500
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2017-01-24 07:23:26 +0700
commit1fec40006ef83de1ba669544592d6fe97dcef39f (patch)
tree4e864f6c365fb4068a753bb8cda5871846e90d86
parentcaccc66443c1c42759f7bfa34cec313a07f31a52 (diff)
downloadslackbuilds-1fec40006ef83de1ba669544592d6fe97dcef39f.tar.gz
desktop/wmweather+: Updated for version 2.16.
-rw-r--r--desktop/wmweather+/wmweather+.SlackBuild13
-rw-r--r--desktop/wmweather+/wmweather+.info6
2 files changed, 14 insertions, 5 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 \
diff --git a/desktop/wmweather+/wmweather+.info b/desktop/wmweather+/wmweather+.info
index 4cd3e0c355..68bce77c06 100644
--- a/desktop/wmweather+/wmweather+.info
+++ b/desktop/wmweather+/wmweather+.info
@@ -1,8 +1,8 @@
PRGNAM="wmweather+"
-VERSION="2.15"
+VERSION="2.16"
HOMEPAGE="http://sourceforge.net/projects/wmweatherplus/"
-DOWNLOAD="http://sourceforge.net/projects/wmweatherplus/files/wmweather%2B/wmweather%2B-2.15.tar.gz"
-MD5SUM="5eea25d708abe1da3549672b898bd0d4"
+DOWNLOAD="http://sourceforge.net/projects/wmweatherplus/files/wmweather%2B/wmweather%2B-2.16.tar.gz"
+MD5SUM="2bf7b9a0e746644c549b6f9833af7209"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES=""