summaryrefslogtreecommitdiffstats
path: root/office/latexdiff
diff options
context:
space:
mode:
Diffstat (limited to 'office/latexdiff')
-rw-r--r--office/latexdiff/latexdiff.SlackBuild20
-rw-r--r--office/latexdiff/latexdiff.info10
2 files changed, 20 insertions, 10 deletions
diff --git a/office/latexdiff/latexdiff.SlackBuild b/office/latexdiff/latexdiff.SlackBuild
index 61ffae61d2..bd561a183c 100644
--- a/office/latexdiff/latexdiff.SlackBuild
+++ b/office/latexdiff/latexdiff.SlackBuild
@@ -1,8 +1,8 @@
-#!/bin/sh
+#!/bin/bash
# Slackware build script for latexdiff
-# Copyright 2018 Dominik Drobek <dominik.drobek (at) o2.pl>
+# Copyright 2018, 2020 Dominik Drobek <dominik.drobek (at) o2.pl>
# All rights reserved.
#
# Redistribution and use of this script, with or without modification, is
@@ -22,13 +22,23 @@
# 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=latexdiff
-VERSION=${VERSION:-1.3.0}
+VERSION=${VERSION:-1.3.4}
ARCH=noarch
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
+PKGTYPE=${PKGTYPE:-tgz}
+
+# 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
-CWD=$(pwd)
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}
@@ -63,4 +73,4 @@ mkdir -p $PKG/install
cat $CWD/slack-desc > $PKG/install/slack-desc
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/latexdiff/latexdiff.info b/office/latexdiff/latexdiff.info
index eb10f1d567..dc3f31c9f0 100644
--- a/office/latexdiff/latexdiff.info
+++ b/office/latexdiff/latexdiff.info
@@ -1,10 +1,10 @@
PRGNAM="latexdiff"
-VERSION="1.3.0"
+VERSION="1.3.4"
HOMEPAGE="https://www.ctan.org/tex-archive/support/latexdiff"
-DOWNLOAD="https://github.com/ftilmann/latexdiff/releases/download/1.3.0/latexdiff-1.3.0.tar.gz"
-MD5SUM="b8cdd944ad6c459c78a9ec75cfb0b3c2"
+DOWNLOAD="https://github.com/ftilmann/latexdiff/releases/download/1.3.4/latexdiff-1.3.4.tar.gz"
+MD5SUM="9f8169540623adfdb767cf7097e41171"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES=""
-MAINTAINER="Dominik Drobek"
-EMAIL="dominik.drobek (at) o2.pl"
+MAINTAINER="Andrei Rabusov"
+EMAIL="arabusov@gmail.com"