aboutsummaryrefslogtreecommitdiff
path: root/office/remind
diff options
context:
space:
mode:
authorT3slider <t3slider@gmail.com>2019-07-30 00:41:48 +0700
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2019-07-30 00:41:48 +0700
commitcbb2245196482a00fa19a586a88abbc0d5111798 (patch)
treec429802bb3af0ae3ad41a614957fe677a46244ea /office/remind
parent8691010fa4fa3014c207f6ccf04edd3adac108ae (diff)
office/remind: Updated for version 03.01.16.
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'office/remind')
-rw-r--r--office/remind/README1
-rw-r--r--office/remind/remind.SlackBuild14
-rw-r--r--office/remind/remind.info8
3 files changed, 17 insertions, 6 deletions
diff --git a/office/remind/README b/office/remind/README
index 546a65f8f0334..2adeec2bc5301 100644
--- a/office/remind/README
+++ b/office/remind/README
@@ -22,6 +22,7 @@ See the SlackBuild for more information on these variables.
DEFAULT_PAGE=Letter|A4 (default: Letter), set the default page size
DATESEP=-|/ (default: -), set the date separator character
TIMESEP=:|. (default: :), set the time separator character
+DATETIMESEP=@|/|T (default: @), set the datetime separator character
CHARSET=ASCII|ISOLATIN1|ISOLATIN2|IBMEXTENDED|IBM852
(default: ISOLATIN1), set the character set to use
diff --git a/office/remind/remind.SlackBuild b/office/remind/remind.SlackBuild
index cd7751cea3dc7..eac93bf1d1716 100644
--- a/office/remind/remind.SlackBuild
+++ b/office/remind/remind.SlackBuild
@@ -2,7 +2,7 @@
# Slackware build script for Remind
-# Copyright 2016 T3slider <t3slider@gmail.com>
+# Copyright 2019 T3slider <t3slider@gmail.com>
# All rights reserved.
#
# Redistribution and use of this script, with or without modification, is
@@ -23,7 +23,7 @@
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
PRGNAM=remind
-VERSION=${VERSION:-03.01.15}
+VERSION=${VERSION:-03.01.16}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
@@ -90,6 +90,10 @@ DATESEP=${DATESEP:--}
# Default time separator. Options are : or .
TIMESEP=${TIMESEP:-:}
+# Default datetime separator. Standard options are @ or / but some may
+# prefer T (any single character can be passed).
+DATETIMESEP=${DATETIMESEP:-@}
+
# Character set to use. Options are ASCII, ISOLATIN1, ISOLATIN2,
# IBMEXTENDED, or IBM852.
CHARSET=${CHARSET:-ISOLATIN1}
@@ -145,6 +149,12 @@ if [ "$TIMESEP" = "." ]; then
sed -i "s|^#define TIMESEP ':'|/* & */|" src/custom.h
sed -i "s|^\(/\* \)\(#define TIMESEP '\.'\)\( \*/\)|\2|" src/custom.h
fi
+if [ "$DATETIMESEP" = "/" ]; then
+ sed -i "s|^#define DATETIMESEP '@'|/* & */|" src/custom.h
+ sed -i "s|^\(/\* \)\(#define DATETIMESEP '/'\)\( \*/\)|\2|" src/custom.h
+elif [ "$DATETIMESEP" != "@" ]; then
+ sed -i "s|^\(#define DATETIMESEP '\)\(@\)\('\)|\1${DATETIMESEP}\3|" src/custom.h
+fi
sed -i "s/^\(#define ISOLATIN1 \).*/\1 0/" src/custom.h
if [ "$CHARSET" != "ASCII" ]; then
sed -i "s/^\(#define $CHARSET \).*/\1 1/" src/custom.h
diff --git a/office/remind/remind.info b/office/remind/remind.info
index 863f38276798f..f1ddc699ae2ee 100644
--- a/office/remind/remind.info
+++ b/office/remind/remind.info
@@ -1,8 +1,8 @@
PRGNAM="remind"
-VERSION="03.01.15"
-HOMEPAGE="https://www.roaringpenguin.com/products/remind"
-DOWNLOAD="http://ponce.cc/slackware/sources/repo/remind-03.01.15.tar.gz"
-MD5SUM="089c51c060fdda2357a833800a5bfe39"
+VERSION="03.01.16"
+HOMEPAGE="https://dianne.skoll.ca/projects/remind/"
+DOWNLOAD="https://dianne.skoll.ca/projects/remind/download/remind-03.01.16.tar.gz"
+MD5SUM="17ba30c2aee7f3156cc8de308be123ed"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES=""