summaryrefslogtreecommitdiff
path: root/office
diff options
context:
space:
mode:
authorJohannes Schoepfer <slackbuilds@schoepfer.info>2020-06-13 08:58:48 +0100
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2020-06-14 17:45:45 +0700
commit0402867f42056d64d0f9a73091d9ded79c6d192c (patch)
treec265788323d77e940e1895efc45093dac13366d7 /office
parent1dcbe4ec8881666efa9e029ea55f44d8d4dab044 (diff)
downloadslackbuilds-0402867f42056d64d0f9a73091d9ded79c6d192c.tar.gz
office/texlive-extra: Updated for version 2020.200608.
Signed-off-by: Dave Woodfall <dave@slackbuilds.org> Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'office')
-rw-r--r--office/texlive-extra/texlive-extra.SlackBuild24
-rw-r--r--office/texlive-extra/texlive-extra.info6
2 files changed, 16 insertions, 14 deletions
diff --git a/office/texlive-extra/texlive-extra.SlackBuild b/office/texlive-extra/texlive-extra.SlackBuild
index 4faa70f884..c2cd1d0c75 100644
--- a/office/texlive-extra/texlive-extra.SlackBuild
+++ b/office/texlive-extra/texlive-extra.SlackBuild
@@ -4,7 +4,7 @@
# Copyright 2009 Patrick J. Volkerding, Sebeka, MN, USA
# Copyright 2009 - 2014 Robby Workman, Northport, AL, USA
-# Copyright 2016 - 2019 Johannes Schoepfer, Germany
+# Copyright 2016 - 2020 Johannes Schoepfer, Germany
# All rights reserved.
#
# Redistribution and use of this script, with or without modification, is
@@ -25,7 +25,7 @@
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
PRGNAM=texlive-extra
-VERSION=${VERSION:-2019.190626}
+VERSION=${VERSION:-2020.200608}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
@@ -34,6 +34,8 @@ TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}
+set -e
+
if [ -z "$ARCH" ]; then
case "$( uname -m )" in
i?86) ARCH=i586 ;;
@@ -42,27 +44,27 @@ if [ -z "$ARCH" ]; then
esac
fi
-set -e
+TEXMFROOT=/usr/share
rm -rf $PKG
-mkdir -p $TMP $PKG/usr/share $OUTPUT $PKG/usr/bin $PKG/usr/doc/texlive-$VERSION
-tar xvf $CWD/$PRGNAM-$VERSION.tar.xz -C $PKG/usr/share
+mkdir -p $TMP $PKG$TEXMFROOT $OUTPUT $PKG/usr/bin $PKG/usr/doc/texlive-$VERSION
+tar xvf $CWD/$PRGNAM-$VERSION.tar.xz -C $PKG$TEXMFROOT
chown -R root:root $PKG
chmod -R u+w,go-w,a+rX-st $PKG
# Put symlinks/scripts from tlnet in place
-mv $PKG/usr/share/texmf-dist/linked_scripts/* $PKG/usr/bin
-rmdir $PKG/usr/share/texmf-dist/linked_scripts
+mv $PKG$TEXMFROOT/texmf-dist/linked_scripts/* $PKG/usr/bin
+rmdir $PKG$TEXMFROOT/texmf-dist/linked_scripts
# Move biber binary to $PATH
case $ARCH in
- "x86_64") mv $PKG/usr/share/texmf-dist/bin/x86_64-linux/biber $PKG/usr/bin ;;
- "i586") mv $PKG/usr/share/texmf-dist/bin/i386-linux/biber $PKG/usr/bin ;;
+ "x86_64") mv $PKG$TEXMFROOT/texmf-dist/bin/x86_64-linux/biber $PKG/usr/bin ;;
+ "i586") mv $PKG$TEXMFROOT/texmf-dist/bin/i386-linux/biber $PKG/usr/bin ;;
esac
-rm -rf $PKG/usr/share/texmf-dist/bin
+rm -rf $PKG$TEXMFROOT/texmf-dist/bin
# Install index of provided tex packages to the docs
-mv $PKG/usr/share/texmf-dist/packages.extra.gz $PKG/usr/doc/texlive-$VERSION
+mv $PKG$TEXMFROOT/texmf-dist/packages.extra.gz $PKG/usr/doc/texlive-$VERSION
mkdir -p $PKG/install
cat $CWD/doinst.sh > $PKG/install/doinst.sh
diff --git a/office/texlive-extra/texlive-extra.info b/office/texlive-extra/texlive-extra.info
index 1e31bcf88e..5052c20d94 100644
--- a/office/texlive-extra/texlive-extra.info
+++ b/office/texlive-extra/texlive-extra.info
@@ -1,8 +1,8 @@
PRGNAM="texlive-extra"
-VERSION="2019.190626"
+VERSION="2020.200608"
HOMEPAGE="https://tug.org/texlive/"
-DOWNLOAD="http://slackware.schoepfer.info/slackbuilds/texlive/2019/texlive-extra-2019.190626.tar.xz"
-MD5SUM="d75caaad02a5ec1ab5f398465eb759a1"
+DOWNLOAD="http://slackware.schoepfer.info/slackbuilds/texlive/texlive-extra-2020.200608.tar.xz"
+MD5SUM="34a8f19207ba77c6f86891eb3450e912"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES="texlive"