aboutsummaryrefslogtreecommitdiff
path: root/office/etmtk
diff options
context:
space:
mode:
authorJostein Berntsen <jbernts@broadpark.no>2017-10-02 00:08:45 +0100
committerDavid Spencer <idlemoor@slackbuilds.org>2017-10-02 00:08:45 +0100
commit886eb10fd5510e547018bcc82f749c36202589a6 (patch)
treee3c3f3f83daea7225fda8c322914351929a74178 /office/etmtk
parent8ee6a7ecb246a16cc581e814a87681fe4606fb5a (diff)
office/etmtk: Updated for version 3.2.31.
Signed-off-by: David Spencer <idlemoor@slackbuilds.org>
Diffstat (limited to 'office/etmtk')
-rw-r--r--office/etmtk/doinst.sh3
-rw-r--r--office/etmtk/etmtk.SlackBuild7
-rw-r--r--office/etmtk/etmtk.info6
3 files changed, 11 insertions, 5 deletions
diff --git a/office/etmtk/doinst.sh b/office/etmtk/doinst.sh
new file mode 100644
index 0000000000000..5fb28930db0b9
--- /dev/null
+++ b/office/etmtk/doinst.sh
@@ -0,0 +1,3 @@
+if [ -x /usr/bin/update-desktop-database ]; then
+ /usr/bin/update-desktop-database -q usr/share/applications >/dev/null 2>&1
+fi
diff --git a/office/etmtk/etmtk.SlackBuild b/office/etmtk/etmtk.SlackBuild
index 6a052ae4e4f32..8e5a11a743006 100644
--- a/office/etmtk/etmtk.SlackBuild
+++ b/office/etmtk/etmtk.SlackBuild
@@ -2,7 +2,7 @@
# Slackware build script for etmtk
-# Copyright 2016 Jostein Berntsen <jbernts@broadpark.no>
+# Copyright 2016-2017 Jostein Berntsen <jbernts@broadpark.no>
# 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=etmtk
-VERSION=${VERSION:-3.2.30}
+VERSION=${VERSION:-3.2.31}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
@@ -80,10 +80,13 @@ for i in $( find $PKG/usr/man -type l ) ; do ln -s $( readlink $i ).gz $i.gz ; r
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
cp -a MANIFEST.in PKG-INFO README.txt $PKG/usr/doc/$PRGNAM-$VERSION
+mv $PKG/usr/share/doc/etm/* $PKG/usr/doc/$PRGNAM-$VERSION
+rm -rf $PKG/usr/share/doc
cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
mkdir -p $PKG/install
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}
diff --git a/office/etmtk/etmtk.info b/office/etmtk/etmtk.info
index 35706a6e5068e..a168f00447df3 100644
--- a/office/etmtk/etmtk.info
+++ b/office/etmtk/etmtk.info
@@ -1,8 +1,8 @@
PRGNAM="etmtk"
-VERSION="3.2.30"
+VERSION="3.2.31"
HOMEPAGE="http://people.duke.edu/~dgraham/etmtk/"
-DOWNLOAD="http://people.duke.edu/~dgraham/etmtk/etmtk-3.2.30.tar.gz"
-MD5SUM="4bf4f48492e51aeef7c2eb702f35e6fb"
+DOWNLOAD="http://people.duke.edu/~dgraham/etmtk/etmtk-3.2.31.tar.gz"
+MD5SUM="ec05c44702c6ea1db05e0daf110ff91d"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES="python-dateutil PyYAML"