mirror of
git://slackware.nl/current.git
synced 2024-12-28 09:59:53 +01:00
690121316c
ap/vim-8.1.1601-x86_64-1.txz: Upgraded. Built with --disable-canberra. Thanks to Markus Wiesner. l/harfbuzz-2.5.3-x86_64-1.txz: Upgraded. n/nettle-3.5.1-x86_64-1.txz: Upgraded. n/nftables-0.9.1-x86_64-1.txz: Upgraded. t/texlive-2019.190626-x86_64-1.txz: Upgraded. Shared library .so-version bump. Thanks to Johannes Schoepfer. xap/blueman-2.1-x86_64-1.txz: Upgraded. Thanks to Robby Workman. xap/vim-gvim-8.1.1601-x86_64-1.txz: Upgraded.
17 lines
911 B
Bash
Executable file
17 lines
911 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 potrace zlib )
|
|
( cd texlive-${VERSION}-source/utils && rm -rf asymptote )
|
|
( cd texlive-${VERSION}-source/texk && rm -rf dvisvgm )
|
|
( cd texlive-${VERSION}-source/texk/web2c && rm -rf alephdir )
|
|
( 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 -9 texlive-${VERSION}-source.tar
|
|
touch -r texlive-${VERSION}-source.tar.xz.orig texlive-${VERSION}-source.tar.xz
|
|
rm texlive-${VERSION}-source.tar.xz.orig
|