mirror of
git://slackware.nl/current.git
synced 2024-12-26 09:58:59 +01:00
075f0a2233
l/abseil-cpp-20240116.2-x86_64-1.txz: Upgraded. l/dotconf-1.4.1-x86_64-1.txz: Upgraded. t/texlive-2024.240409-x86_64-1.txz: Upgraded. Thanks to Johannes Schoepfer. x/xorg-server-xwayland-23.2.6-x86_64-1.txz: Upgraded. xap/blueman-2.4.1-x86_64-1.txz: Upgraded.
17 lines
902 B
Bash
Executable file
17 lines
902 B
Bash
Executable file
#!/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 graphite2 harfbuzz mpfr icu libpng pixman zlib libpaper )
|
|
( cd texlive-${VERSION}-source/utils && rm -rf asymptote )
|
|
( cd texlive-${VERSION}-source/utils && rm -rf texdoctk )
|
|
( cd texlive-${VERSION}-source/utils && rm -rf m-tx )
|
|
( cd texlive-${VERSION}-source/texk/texlive && rm -rf w*_wrapper )
|
|
tar cf texlive-${VERSION}-source.tar texlive-${VERSION}-source
|
|
rm -r texlive-${VERSION}-source
|
|
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
|