summaryrefslogtreecommitdiffstats
path: root/office/texlive-docs/texlive-docs.SlackBuild
diff options
context:
space:
mode:
author Johannes Schoepfer2020-06-13 09:38:28 +0200
committer Willy Sudiarto Raharjo2020-06-14 12:45:45 +0200
commit1dcbe4ec8881666efa9e029ea55f44d8d4dab044 (patch)
tree0b9d66ed88a308f9bd9059623666ccfe7524c09c /office/texlive-docs/texlive-docs.SlackBuild
parent7bb223002239b573aed9af6101e8b2bc0c83b613 (diff)
downloadslackbuilds-1dcbe4ec8881666efa9e029ea55f44d8d4dab044.tar.gz
office/texlive-docs: 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/texlive-docs/texlive-docs.SlackBuild')
-rw-r--r--office/texlive-docs/texlive-docs.SlackBuild14
1 files changed, 8 insertions, 6 deletions
diff --git a/office/texlive-docs/texlive-docs.SlackBuild b/office/texlive-docs/texlive-docs.SlackBuild
index b34eada5d2..cb60d47aa1 100644
--- a/office/texlive-docs/texlive-docs.SlackBuild
+++ b/office/texlive-docs/texlive-docs.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-docs
-VERSION=${VERSION:-2019.190626}
+VERSION=${VERSION:-2020.200608}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
@@ -36,19 +36,21 @@ OUTPUT=${OUTPUT:-/tmp}
ARCH=noarch
+TEXMFROOT=/usr/share
+
set -e
rm -rf $PKG
-mkdir -p $TMP $PKG/usr/share $OUTPUT $PKG/usr/doc/texlive-$VERSION
-tar xvf $CWD/$PRGNAM-$VERSION.tar.xz -C $PKG/usr/share
+mkdir -p $TMP $PKG$TEXMFROOT $OUTPUT $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
# No, we don't care about the pdf versions of the manual pages
-rm -rf $PKG/usr/share/texmf-dist/doc/man
+rm -rf $PKG$TEXMFROOT/texmf-dist/doc/man
# Install index of provided tex packages to the docs
-mv $PKG/usr/share/texmf-dist/packages.docs.gz $PKG/usr/doc/texlive-$VERSION
+mv $PKG$TEXMFROOT/texmf-dist/packages.docs.gz $PKG/usr/doc/texlive-$VERSION
mkdir -p $PKG/install
cat $CWD/doinst.sh > $PKG/install/doinst.sh