summaryrefslogtreecommitdiff
path: root/office/texlive-docs/texlive-docs.SlackBuild
diff options
context:
space:
mode:
authorJohannes Schoepfer <slackbuilds[at]schoepfer[dot]info>2017-11-14 14:22:26 +0000
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2017-11-18 12:40:25 +0700
commita85f7034c891304ca58fb95920e6a3f50ecb15d2 (patch)
treed4d29b5d05249e87caf0e96098afa51a52279d09 /office/texlive-docs/texlive-docs.SlackBuild
parent26567af3f0d2ce98338d05a344aa5e44b2ad30a5 (diff)
downloadslackbuilds-a85f7034c891304ca58fb95920e6a3f50ecb15d2.tar.gz
office/texlive-docs: Updated for version 2017.171108.
Signed-off-by: David Spencer <idlemoor@slackbuilds.org>
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 c756bbe824..12117cde80 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