aboutsummaryrefslogtreecommitdiff
path: root/office/texlive-docs/texlive-docs.SlackBuild
diff options
context:
space:
mode:
Diffstat (limited to 'office/texlive-docs/texlive-docs.SlackBuild')
-rw-r--r--office/texlive-docs/texlive-docs.SlackBuild10
1 files changed, 3 insertions, 7 deletions
diff --git a/office/texlive-docs/texlive-docs.SlackBuild b/office/texlive-docs/texlive-docs.SlackBuild
index 7e8b2792271cc..8c33819b7af7d 100644
--- a/office/texlive-docs/texlive-docs.SlackBuild
+++ b/office/texlive-docs/texlive-docs.SlackBuild
@@ -1,10 +1,10 @@
#!/bin/bash
-# texlive-docs build script for Slackware
+# Slackware build script for texlive-docs
# Copyright 2009 Patrick J. Volkerding, Sebeka, MN, USA
# Copyright 2009 - 2014 Robby Workman, Northport, AL, USA
-# Copyright 2016 - 2021 Johannes Schoepfer, Germany
+# Copyright 2016 - 2022 Johannes Schoepfer, Germany
# All rights reserved.
#
# Redistribution and use of this script, with or without modification, is
@@ -33,9 +33,6 @@ 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
@@ -44,9 +41,7 @@ fi
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}
-
ARCH=noarch
-
TEXMFROOT=/usr/share
set -e
@@ -62,6 +57,7 @@ rm -rf $PKG$TEXMFROOT/texmf-dist/doc/man
# Install index of provided tex packages to the docs
mv $PKG$TEXMFROOT/texmf-dist/packages.docs.gz $PKG/usr/doc/texlive-$VERSION
+cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
mkdir -p $PKG/install
cat $CWD/doinst.sh > $PKG/install/doinst.sh