summaryrefslogtreecommitdiffstats
path: root/office/texlive-extra
diff options
context:
space:
mode:
Diffstat (limited to 'office/texlive-extra')
-rw-r--r--office/texlive-extra/README13
-rw-r--r--office/texlive-extra/doinst.sh5
-rw-r--r--office/texlive-extra/texlive-extra.SlackBuild17
-rw-r--r--office/texlive-extra/texlive-extra.info8
4 files changed, 25 insertions, 18 deletions
diff --git a/office/texlive-extra/README b/office/texlive-extra/README
index 9610675b26..519fce7046 100644
--- a/office/texlive-extra/README
+++ b/office/texlive-extra/README
@@ -3,3 +3,16 @@ texlive package shipped by Slackware.
Appropriate docs are included as well.
Optional dependency: openjdk8
+
+To integrate this package, you have to do the following steps
+as root user:
+
+mktexlsr
+printf "y\n" | updmap-sys --syncwithtrees
+cp /usr/share/texmf-dist/web2c/updmap.cfg.extra \
+ /usr/share/texmf-dist/web2c/updmap.cfg.extra.tmp
+updmap-sys \
+ --cnffile /usr/share/texmf-dist/web2c/updmap.cfg \
+ --cnffile /usr/share/texmf-dist/web2c/updmap.cfg.extra
+mv /usr/share/texmf-dist/web2c/updmap.cfg.extra.tmp \
+ /usr/share/texmf-dist/web2c/updmap.cfg.extra
diff --git a/office/texlive-extra/doinst.sh b/office/texlive-extra/doinst.sh
deleted file mode 100644
index f3b57a1c9c..0000000000
--- a/office/texlive-extra/doinst.sh
+++ /dev/null
@@ -1,5 +0,0 @@
-chroot . /usr/bin/mktexlsr 1>/dev/null 2>/dev/null
-printf "y\n" | chroot . /usr/bin/updmap-sys --syncwithtrees 1>/dev/null 2>/dev/null
-cp usr/share/texmf-dist/web2c/updmap.cfg.extra usr/share/texmf-dist/web2c/updmap.cfg.extra.tmp
-chroot . /usr/bin/updmap-sys --cnffile /usr/share/texmf-dist/web2c/updmap.cfg --cnffile /usr/share/texmf-dist/web2c/updmap.cfg.extra 1>/dev/null 2>/dev/null
-mv usr/share/texmf-dist/web2c/updmap.cfg.extra.tmp usr/share/texmf-dist/web2c/updmap.cfg.extra
diff --git a/office/texlive-extra/texlive-extra.SlackBuild b/office/texlive-extra/texlive-extra.SlackBuild
index c8e91e5a5b..653de6acfb 100644
--- a/office/texlive-extra/texlive-extra.SlackBuild
+++ b/office/texlive-extra/texlive-extra.SlackBuild
@@ -4,7 +4,7 @@
# Copyright 2009 Patrick J. Volkerding, Sebeka, MN, USA
# Copyright 2009 - 2014 Robby Workman, Northport, AL, USA
-# Copyright 2016 - 2022 Johannes Schoepfer, Germany
+# Copyright 2016 - 2023 Johannes Schoepfer, Germany
# All rights reserved.
#
# Redistribution and use of this script, with or without modification, is
@@ -27,17 +27,12 @@
cd $(dirname $0) ; CWD=$(pwd)
PRGNAM=texlive-extra
-TEXMFVERSION=${TEXMFVERSION:-210418}
-VERSION=${VERSION:-2021.210418}
+TEXMFVERSION=${TEXMFVERSION:-230322}
+VERSION=${VERSION:-2023.230322}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
PKGTYPE=${PKGTYPE:-tgz}
-if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then
- echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE"
- exit 0
-fi
-
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}
@@ -52,6 +47,11 @@ if [ -z "$ARCH" ]; then
esac
fi
+if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then
+ echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE"
+ exit 0
+fi
+
TEXMFROOT=/usr/share
rm -rf $PKG
@@ -77,7 +77,6 @@ mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
mkdir -p $PKG/install
-cat $CWD/doinst.sh > $PKG/install/doinst.sh
cat $CWD/slack-desc > $PKG/install/slack-desc
cd $PKG
diff --git a/office/texlive-extra/texlive-extra.info b/office/texlive-extra/texlive-extra.info
index 5452dfda9e..287ea7cc11 100644
--- a/office/texlive-extra/texlive-extra.info
+++ b/office/texlive-extra/texlive-extra.info
@@ -1,10 +1,10 @@
PRGNAM="texlive-extra"
-VERSION="2021.210418"
+VERSION="2023.230322"
HOMEPAGE="https://tug.org/texlive/"
-DOWNLOAD="http://slackware.schoepfer.info/slackbuilds/texlive/texlive-extra-210418.tar.xz"
-MD5SUM="2ba79dc8df413557d06fa3cb8df04080"
+DOWNLOAD="http://slackware.schoepfer.info/slackbuilds/texlive/texlive-extra-230322.tar.xz"
+MD5SUM="2a6406b9fca2625cb1d4306e33fe4a3e"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
-REQUIRES=""
+REQUIRES="%README%"
MAINTAINER="Johannes Schoepfer"
EMAIL="slackbuilds@schoepfer.info"