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.SlackBuild12
1 files changed, 3 insertions, 9 deletions
diff --git a/office/texlive-docs/texlive-docs.SlackBuild b/office/texlive-docs/texlive-docs.SlackBuild
index c756bbe8245e..12117cde8034 100644
--- a/office/texlive-docs/texlive-docs.SlackBuild
+++ b/office/texlive-docs/texlive-docs.SlackBuild
@@ -25,7 +25,7 @@
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
PRGNAM=texlive-docs
-VERSION=${VERSION:-2017.170622}
+VERSION=${VERSION:-2017.171108}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
@@ -39,21 +39,15 @@ ARCH=noarch
set -e
rm -rf $PKG
-mkdir -p $TMP $PKG/usr/share $OUTPUT
+mkdir -p $TMP $PKG/usr/share $OUTPUT $PKG/usr/doc/texlive-$VERSION
tar xvf $CWD/$PRGNAM-$VERSION.tar.xz -C $PKG/usr/share
chown -R root:root $PKG
chmod -R u+w,go-w,a+rX-st $PKG
-# Move manual pages to the correct place
-mkdir -p $PKG/usr/man/man1 $PKG/usr/man/man5
-mv $PKG/usr/share/texmf-dist/doc/man/man1/*.1 $PKG/usr/man/man1
-mv $PKG/usr/share/texmf-dist/doc/man/man5/*.5 $PKG/usr/man/man5
# No, we don't care about the pdf versions of the manual pages
rm -rf $PKG/usr/share/texmf-dist/doc/man
-# Handle the man pages
-find $PKG/usr/man -type f -exec gzip -9 {} \;
-for i in $(find $PKG/usr/man -type l) ; do ln -s $(readlink $i).gz $i.gz ; rm $i ; done
+mv $PKG/usr/share/texmf-dist/packages.docs.gz $PKG/usr/doc/texlive-$VERSION
mkdir -p $PKG/install
cat $CWD/doinst.sh > $PKG/install/doinst.sh