office/texlive-docs: Update information about package.

Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
This commit is contained in:
Johannes Schoepfer 2022-03-05 07:52:05 +07:00 committed by Willy Sudiarto Raharjo
parent b6633dcce5
commit d0f7fe7f4e
No known key found for this signature in database
GPG Key ID: 3F617144D7238786
3 changed files with 7 additions and 11 deletions

View File

@ -1,4 +1,4 @@
texlive-docs (TeXLive -base Documentation)
texlive-docs (TeXLive Documentation)
This package contains the documentation appropriate
to the texlive base package.
to the texlive package shipped by slackware.

View File

@ -6,10 +6,10 @@
# customary to leave one space after the ':' except on otherwise blank lines.
|-----handy-ruler------------------------------------------------------|
texlive-docs: texlive-docs (TeXLive -base Documentation)
texlive-docs: texlive-docs (TeXLive Documentation)
texlive-docs:
texlive-docs: This package contains the documentation appropriate
texlive-docs: to the texlive base package.
texlive-docs: to the texlive package shipped by Slackware.
texlive-docs:
texlive-docs:
texlive-docs:

View File

@ -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