aboutsummaryrefslogtreecommitdiff
path: root/office/texlive-extra/texlive-extra.SlackBuild
diff options
context:
space:
mode:
Diffstat (limited to 'office/texlive-extra/texlive-extra.SlackBuild')
-rw-r--r--office/texlive-extra/texlive-extra.SlackBuild34
1 files changed, 3 insertions, 31 deletions
diff --git a/office/texlive-extra/texlive-extra.SlackBuild b/office/texlive-extra/texlive-extra.SlackBuild
index 4b5d8bb05517..499ad2e247b7 100644
--- a/office/texlive-extra/texlive-extra.SlackBuild
+++ b/office/texlive-extra/texlive-extra.SlackBuild
@@ -25,16 +25,17 @@
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
PRGNAM=texlive-extra
-VERSION=20161023
+VERSION=${VERSION:-2016.161031}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
-ARCH=noarch
CWD=$(pwd)
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}
+ARCH=noarch
+
set -e
rm -rf $PKG
@@ -43,35 +44,6 @@ 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
-## put context scripts in place
-#mkdir -p $PKG/usr/bin
-#cat << 'EOF' > $PKG/usr/bin/context
-##!/bin/sh
-#mtxrun --script context "$@"
-#EOF
-#cat << 'EOF' > $PKG/usr/bin/contextjit
-##!/bin/sh
-#luajittex --luaonly $(dirname $0)/mtxrun --script context "$@"
-#EOF
-#cat << 'EOF' > $PKG/usr/bin/luatools
-##!/bin/sh
-#mtxrun --script base "$@"
-#EOF
-#cat << 'EOF' > $PKG/usr/bin/mtxrunjit
-##!/bin/sh
-#luajittex --luaonly $(dirname $0)/mtxrun "$@"
-#EOF
-#cat << 'EOF' > $PKG/usr/bin/texexec
-##!/bin/sh
-#mtxrun --usekpse --execute texexec "$@"
-#EOF
-#cat << 'EOF' > $PKG/usr/bin/texmfstart
-##!/bin/sh
-#mtxrun --usekpse "$@"
-#EOF
-#
-#chmod 755 $PKG/usr/bin/*
-
mkdir -p $PKG/install
cat $CWD/doinst.sh > $PKG/install/doinst.sh
cat $CWD/slack-desc > $PKG/install/slack-desc