summaryrefslogtreecommitdiffstats
path: root/office/texlive/prep/dump.unused.internal.libraries.from.sources.sh
diff options
context:
space:
mode:
author Matteo Bernardini2018-06-30 11:03:14 +0200
committer Matteo Bernardini2018-06-30 11:03:14 +0200
commit6f78c5c4a1e635f8b874c40badcb9f53de7427ac (patch)
treeaa0e46529d3a1d19fdbe48b038cf1a430e30a5b2 /office/texlive/prep/dump.unused.internal.libraries.from.sources.sh
parentb13bac81600f381d328cd59ccfee57213fce3907 (diff)
downloadslackbuilds-6f78c5c4a1e635f8b874c40badcb9f53de7427ac.tar.gz
20180630.1 global branch merge.current-20180630.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