texlive: update to 20230313.

This commit is contained in:
fosslinux 2023-11-09 14:40:37 +11:00 committed by Andrew J. Hesford
parent 2d6611936d
commit ee6b3e602c
7 changed files with 89 additions and 94 deletions

View file

@ -3,14 +3,11 @@ do_build() {
# Extract the source files
mkdir -p "build/usr/share/texmf-dist"
find . -maxdepth 1 -print -name "*.tar.xz" \
-exec bsdtar -C "build/usr/share/texmf-dist" -xf {} \;
-exec bsdtar \
-s '|^texmf-dist/||' \
-C "build/usr/share/texmf-dist" \
-xf {} \;
cd "build/usr/share/texmf-dist/"
# Everything in usr/share/texmf-dist/texmf-dist should really be in
# usr/share/texmf-dist, so we move it
if [ -d "texmf-dist" ] ; then
rsync -ar texmf-dist/ ./
rm -rf texmf-dist/
fi
# LICENSEs are unneeded
rm -f LICENSE*