From 886eb10fd5510e547018bcc82f749c36202589a6 Mon Sep 17 00:00:00 2001 From: Jostein Berntsen Date: Mon, 2 Oct 2017 00:08:45 +0100 Subject: office/etmtk: Updated for version 3.2.31. Signed-off-by: David Spencer --- office/etmtk/doinst.sh | 3 +++ office/etmtk/etmtk.SlackBuild | 7 +++++-- office/etmtk/etmtk.info | 6 +++--- 3 files changed, 11 insertions(+), 5 deletions(-) create mode 100644 office/etmtk/doinst.sh (limited to 'office') diff --git a/office/etmtk/doinst.sh b/office/etmtk/doinst.sh new file mode 100644 index 0000000000..5fb28930db --- /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 6a052ae4e4..8e5a11a743 100644 --- a/office/etmtk/etmtk.SlackBuild +++ b/office/etmtk/etmtk.SlackBuild @@ -2,7 +2,7 @@ # Slackware build script for etmtk -# Copyright 2016 Jostein Berntsen +# Copyright 2016-2017 Jostein Berntsen # 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 35706a6e50..a168f00447 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" -- cgit v1.2.3