summaryrefslogtreecommitdiffstats
path: root/office/etmtk
diff options
context:
space:
mode:
Diffstat (limited to 'office/etmtk')
-rw-r--r--office/etmtk/README12
-rw-r--r--office/etmtk/etmtk.SlackBuild22
-rw-r--r--office/etmtk/etmtk.info10
3 files changed, 27 insertions, 17 deletions
diff --git a/office/etmtk/README b/office/etmtk/README
index 0085003667..d3bbb19445 100644
--- a/office/etmtk/README
+++ b/office/etmtk/README
@@ -1,9 +1,9 @@
etmtk is an acronym for event and task manager.
-In contrast to most calendar/todo applications, creating items (events, tasks,
-and so forth) in etm does not require filling out fields in a form. Instead,
-items are created as free-form text entries using a simple, intuitive format
-and stored in plain text files.
+In contrast to most calendar/todo applications, creating items (events,
+tasks, and so forth) in etm does not require filling out fields in
+a form. Instead, items are created as free-form text entries using a
+simple, intuitive format and stored in plain text files.
-Before running etm for the first time run this command as user:
-mkdir ~/.etm
+Before running etm for the first time run this command as user: mkdir
+~/.etm
diff --git a/office/etmtk/etmtk.SlackBuild b/office/etmtk/etmtk.SlackBuild
index 8e5a11a743..12e552fdfb 100644
--- a/office/etmtk/etmtk.SlackBuild
+++ b/office/etmtk/etmtk.SlackBuild
@@ -1,8 +1,8 @@
-#!/bin/sh
+#!/bin/bash
# Slackware build script for etmtk
-# Copyright 2016-2017 Jostein Berntsen <jbernts@broadpark.no>
+# Copyright 2016-2022 Jostein Berntsen <jvbernts@online.no>
# All rights reserved.
#
# Redistribution and use of this script, with or without modification, is
@@ -22,10 +22,13 @@
# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=etmtk
-VERSION=${VERSION:-3.2.31}
-BUILD=${BUILD:-1}
+VERSION=${VERSION:-3.2.39}
+BUILD=${BUILD:-2}
TAG=${TAG:-_SBo}
+PKGTYPE=${PKGTYPE:-tgz}
if [ -z "$ARCH" ]; then
case "$( uname -m )" in
@@ -35,7 +38,14 @@ if [ -z "$ARCH" ]; then
esac
fi
-CWD=$(pwd)
+# 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
+fi
+
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}
@@ -89,4 +99,4 @@ cat $CWD/slack-desc > $PKG/install/slack-desc
cat $CWD/doinst.sh > $PKG/install/doinst.sh
cd $PKG
-/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.${PKGTYPE:-tgz}
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE
diff --git a/office/etmtk/etmtk.info b/office/etmtk/etmtk.info
index a168f00447..71d9fea3ea 100644
--- a/office/etmtk/etmtk.info
+++ b/office/etmtk/etmtk.info
@@ -1,10 +1,10 @@
PRGNAM="etmtk"
-VERSION="3.2.31"
+VERSION="3.2.39"
HOMEPAGE="http://people.duke.edu/~dgraham/etmtk/"
-DOWNLOAD="http://people.duke.edu/~dgraham/etmtk/etmtk-3.2.31.tar.gz"
-MD5SUM="ec05c44702c6ea1db05e0daf110ff91d"
+DOWNLOAD="https://files.pythonhosted.org/packages/7d/99/927f845552c313b89d04a2a7a5aa6cfe922ec7c68f172d5261631a50069f/etmtk-3.2.39.tar.gz"
+MD5SUM="b52b9a851a7d8caa2f2511cb820c9f94"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
-REQUIRES="python-dateutil PyYAML"
+REQUIRES="python2-dateutil python2-PyYAML python2-ruamel.yaml"
MAINTAINER="Jostein Berntsen"
-EMAIL="jbernts@broadpark.no"
+EMAIL="jvbernts@online.no"