diff options
Diffstat (limited to 'office/texlive-docs/texlive-docs.SlackBuild')
-rw-r--r-- | office/texlive-docs/texlive-docs.SlackBuild | 14 |
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 |