extra/texlive-bin to 2023.66984-10

This commit is contained in:
Kevin Mihelich 2023-06-19 11:05:44 +00:00
parent 6195a5014a
commit afc3ca2043

View file

@ -11,7 +11,7 @@
pkgname=(texlive-bin libsynctex)
_rev=66984
pkgver=2023.$_rev
pkgrel=7
pkgrel=10
license=(GPL)
arch=(x86_64)
makedepends=(git cairo pixman graphite t1lib gd libsigsegv zziplib libpng libjpeg freetype2
@ -84,10 +84,10 @@ build() {
--with-freetype2-include=/usr/include/freetype2 \
--with-xdvi-x-toolkit=xaw \
--disable-dump-share \
--enable-aleph \
--enable-luatex \
--with-clisp-runtime=default \
--disable-xindy --disable-xindy-rules --disable-xindy-docs
--disable-xindy \
--disable-xindy-rules \
--disable-xindy-docs
make
}
@ -130,7 +130,7 @@ package_texlive-bin() {
cd build
make DESTDIR="$pkgdir" texmf="$pkgdir"/usr/share/texmf install
LD_LIBRARY_PATH="$pkgdir"/usr/lib \
LD_PRELOAD="$pkgdir"/usr/lib/libkpathsea.so.6 \
make DESTDIR="$pkgdir" texlinks
# install old ConTeXt stubs
@ -144,11 +144,13 @@ package_texlive-bin() {
install -Dm644 "$srcdir"/tlpkg/texlive.tlpdb -t "$pkgdir"/usr/share/tlpkg
install -Dm644 "$srcdir"/tlpkg/installer/config.guess -t "$pkgdir"/usr/share/tlpkg/installer
# remove stuff included in texlive-core
rm -r "$pkgdir"/usr/share/texmf-dist/{bibtex,chktex,dvipdfmx,dvips,fonts,hbf2gf,scripts,texconfig,ttf2pk,web2c,xdvi}
# remove stuff included in texlive-texmf
rm -r "$pkgdir"/usr/share/texmf-dist
# docs are provided in texlive-doc
rm -r "$pkgdir"/usr/share/texmf-dist/doc
# remove links to scripts
for _link in $(ls "$pkgdir"/usr/bin); do
[[ $(readlink "$pkgdir"/usr/bin/$_link) == */scripts/* ]] && rm "$pkgdir"/usr/bin/$_link
done
# remove libsynctex
rm "$pkgdir"/usr/include/synctex/*