summaryrefslogtreecommitdiffstats
path: root/office/texlive/prep/dump.unused.internal.libraries.from.sources.sh
diff options
context:
space:
mode:
author Matteo Bernardini2018-08-11 08:22:49 +0200
committer Matteo Bernardini2018-08-11 08:22:49 +0200
commit5b9e2bacbba98d29e840b18893dd5b5f07e4e256 (patch)
tree13f6929744b6579f61d56d2983cf04c686198db9 /office/texlive/prep/dump.unused.internal.libraries.from.sources.sh
parent4b6783ab8163804672754dd5c659308957e9133e (diff)
downloadslackbuilds-5b9e2bacbba98d29e840b18893dd5b5f07e4e256.tar.gz
20180811.1 global branch merge.current-20180811.1
Signed-off-by: Matteo Bernardini <ponce@slackbuilds.org>
Diffstat (limited to 'office/texlive/prep/dump.unused.internal.libraries.from.sources.sh')
-rw-r--r--office/texlive/prep/dump.unused.internal.libraries.from.sources.sh15
1 files changed, 0 insertions, 15 deletions
diff --git a/office/texlive/prep/dump.unused.internal.libraries.from.sources.sh b/office/texlive/prep/dump.unused.internal.libraries.from.sources.sh
deleted file mode 100644
index 71ab0b53db..0000000000
--- a/office/texlive/prep/dump.unused.internal.libraries.from.sources.sh
+++ /dev/null
@@ -1,15 +0,0 @@
-#!/bin/sh
-# Repacks the texlive tarball to remove unused sources.
-
-VERSION=${VERSION:-$(echo texlive-*source.tar.?z* | rev | cut -f 2 -d - | cut -f 1 -d - | rev)}
-
-tar xf texlive-${VERSION}-source.tar.xz || exit 1
-mv texlive-${VERSION}-source.tar.xz texlive-${VERSION}-source.tar.xz.orig
-( cd texlive-${VERSION}-source/libs && rm -rf cairo freetype2 gd gmp mpfr icu libpng pixman zlib )
-( cd texlive-${VERSION}-source/utils && rm -rf asymptote )
-tar cf texlive-${VERSION}-source.tar texlive-${VERSION}-source
-rm -r texlive-${VERSION}-source
-#xz -9 texlive-${VERSION}-source.tar
-xz texlive-${VERSION}-source.tar
-touch -r texlive-${VERSION}-source.tar.xz.orig texlive-${VERSION}-source.tar.xz
-rm texlive-${VERSION}-source.tar.xz.orig