2011-09-17 17:37:29 +00:00
|
|
|
# Maintainer: Rémy Oudompheng <remy@archlinux.org>
|
|
|
|
# Contributor: francois <francois.archlinux.org>
|
2011-02-07 14:55:51 +00:00
|
|
|
|
2011-12-24 08:09:03 +00:00
|
|
|
# ALARM: Kevin Mihelich <kevin@archlinuxarm.org>
|
2013-08-03 21:15:44 +00:00
|
|
|
# -fPIC for v6 and v7
|
|
|
|
# --disable-xindy, remove xindy stuff, segfaults with clisp
|
|
|
|
# --disable-cxx-runtime-hack
|
2016-08-05 13:02:06 +00:00
|
|
|
# drop clisp and ffcall makedepends
|
2011-02-07 14:55:51 +00:00
|
|
|
|
2016-02-05 13:55:22 +00:00
|
|
|
pkgname=('texlive-bin' 'libsynctex')
|
2021-12-27 21:31:28 +00:00
|
|
|
pkgver=2021.59745
|
|
|
|
pkgrel=1
|
2011-02-07 14:55:51 +00:00
|
|
|
license=('GPL')
|
2017-11-17 23:32:21 +00:00
|
|
|
arch=('x86_64')
|
2021-05-23 16:43:26 +00:00
|
|
|
makedepends=('git' 'cairo' 'pixman' 'graphite' 't1lib' 'gd'
|
2013-08-03 21:15:44 +00:00
|
|
|
'libsigsegv' 'zziplib' 'libpng' 'libjpeg' 'freetype2'
|
2016-02-05 13:55:22 +00:00
|
|
|
'icu' 'harfbuzz' 'harfbuzz-icu' 'gmp' 'mpfr' 'potrace' 'libpaper'
|
2020-08-25 12:23:18 +00:00
|
|
|
'perl' 'libxcrypt')
|
2019-08-23 13:03:38 +00:00
|
|
|
url='https://tug.org/texlive/'
|
2021-12-27 21:31:28 +00:00
|
|
|
_commit=7eaec95e244515fe11445111c0aaa1349de6790d # svn://tug.org/texlive/tags/texlive-2021.3/Build/source@59745
|
2020-06-18 02:33:57 +00:00
|
|
|
source=("git+https://github.com/Tex-Live/texlive-source.git#commit=${_commit}")
|
|
|
|
sha256sums=('SKIP')
|
2017-07-17 23:37:12 +00:00
|
|
|
|
|
|
|
prepare() {
|
2018-12-02 20:49:40 +00:00
|
|
|
cd "$srcdir/texlive-source"
|
2017-07-17 23:37:12 +00:00
|
|
|
|
|
|
|
# t4ht expects to be un /usr/share/texmf/bin/t4ht (FS#27251)
|
|
|
|
sed -i s/SELFAUTOPARENT/TEXMFROOT/ texk/tex4htk/t4ht.c
|
|
|
|
}
|
2011-05-08 18:02:30 +00:00
|
|
|
|
2011-02-07 14:55:51 +00:00
|
|
|
build() {
|
2018-12-02 20:49:40 +00:00
|
|
|
cd "$srcdir/texlive-source"
|
2013-01-12 08:48:50 +00:00
|
|
|
|
2011-02-07 14:55:51 +00:00
|
|
|
#############################################################
|
|
|
|
### configure
|
2017-07-17 23:37:12 +00:00
|
|
|
mkdir -p Work
|
2011-02-07 14:55:51 +00:00
|
|
|
cd Work
|
|
|
|
echo "--> Initial configuration..."
|
2012-02-06 15:41:43 +00:00
|
|
|
# we use temporary prefix to avoid messing the existing
|
|
|
|
# $pkgdir/usr/share/texmf tree
|
2021-12-27 21:31:28 +00:00
|
|
|
#
|
|
|
|
# Preset float endianness to avoid a crash in cairo configure
|
|
|
|
# with recent toolchains. We are not building cairo anyway.
|
|
|
|
ax_cv_c_float_words_bigendian=no \
|
|
|
|
../configure --prefix=/usr -C \
|
2011-12-24 08:09:03 +00:00
|
|
|
--sysconfdir=/etc \
|
2011-09-17 17:37:29 +00:00
|
|
|
--datarootdir=/usr/share \
|
|
|
|
--datadir=/usr/share \
|
|
|
|
--mandir=/usr/share/man \
|
2011-02-07 14:55:51 +00:00
|
|
|
--disable-native-texlive-build \
|
2011-05-08 18:02:30 +00:00
|
|
|
--with-banner-add="/Arch Linux" \
|
2012-07-22 16:56:57 +00:00
|
|
|
--disable-cxx-runtime-hack \
|
2011-02-07 14:55:51 +00:00
|
|
|
--disable-multiplatform \
|
|
|
|
--disable-dialog \
|
|
|
|
--disable-psutils \
|
|
|
|
--disable-t1utils \
|
|
|
|
--disable-bibtexu \
|
|
|
|
--disable-xz \
|
2013-10-27 18:15:38 +00:00
|
|
|
--enable-shared \
|
|
|
|
--disable-static \
|
2012-07-22 16:56:57 +00:00
|
|
|
--with-system-zlib \
|
|
|
|
--with-system-zziplib \
|
|
|
|
--with-system-pnglib \
|
2011-02-07 14:55:51 +00:00
|
|
|
--with-system-ncurses \
|
|
|
|
--with-system-t1lib \
|
2012-07-22 16:56:57 +00:00
|
|
|
--with-system-gd \
|
|
|
|
--with-system-freetype2 \
|
2013-08-03 21:15:44 +00:00
|
|
|
--with-system-pixman \
|
|
|
|
--with-system-cairo \
|
|
|
|
--with-system-harfbuzz \
|
|
|
|
--with-system-graphite \
|
|
|
|
--with-system-icu \
|
2015-09-15 00:00:58 +00:00
|
|
|
--with-system-gmp \
|
|
|
|
--with-system-mpfr \
|
|
|
|
--with-system-potrace \
|
|
|
|
--with-system-libpaper \
|
2011-02-07 14:55:51 +00:00
|
|
|
--with-freetype2-libdir=/usr/lib \
|
|
|
|
--with-freetype2-include=/usr/include/freetype2 \
|
|
|
|
--with-xdvi-x-toolkit=xaw \
|
|
|
|
--disable-dump-share \
|
|
|
|
--disable-aleph \
|
2013-07-10 16:41:40 +00:00
|
|
|
--enable-luatex \
|
|
|
|
--with-clisp-runtime=default \
|
2013-08-03 21:15:44 +00:00
|
|
|
--disable-xindy --disable-xindy-rules --disable-xindy-docs
|
2011-02-07 14:55:51 +00:00
|
|
|
#############################################################
|
|
|
|
### make
|
|
|
|
echo "-------------------------------------------------------"
|
|
|
|
echo "--> Building the whole beast ..."
|
|
|
|
echo "-------------------------------------------------------"
|
|
|
|
make
|
|
|
|
}
|
|
|
|
|
2016-02-05 13:55:22 +00:00
|
|
|
package_libsynctex() {
|
2016-08-05 13:02:06 +00:00
|
|
|
pkgdesc='Library for synchronization between TeX files and resulting file'
|
|
|
|
depends=('glibc' 'zlib')
|
2016-02-05 13:55:22 +00:00
|
|
|
|
2018-12-02 20:49:40 +00:00
|
|
|
cd "${srcdir}/texlive-source/Work"
|
2016-08-05 13:02:06 +00:00
|
|
|
make -C texk/web2c DESTDIR="${pkgdir}" \
|
|
|
|
install-data-am install-libLTLIBRARIES
|
2016-02-05 13:55:22 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
package_texlive-bin() {
|
|
|
|
pkgdesc="TeX Live binaries"
|
|
|
|
depends=('cairo' 'pixman' 'graphite' 't1lib' 'gd' 'poppler'
|
2020-08-25 12:23:18 +00:00
|
|
|
'libsigsegv' 'zziplib' 'libpng' 'libjpeg' 'freetype2' 'libxcrypt'
|
2016-02-05 13:55:22 +00:00
|
|
|
'icu' 'harfbuzz' 'harfbuzz-icu' 'gmp' 'mpfr' 'potrace' 'libpaper'
|
|
|
|
'libsynctex')
|
2016-08-16 12:34:02 +00:00
|
|
|
provides=('lcdf-typetools' 'kpathsea' 'xindy')
|
2016-08-06 19:24:55 +00:00
|
|
|
optdepends=('ed: for texconfig'
|
|
|
|
'biber: for bibliography processing')
|
2016-02-05 13:55:22 +00:00
|
|
|
options=('!strip')
|
|
|
|
|
2018-12-02 20:49:40 +00:00
|
|
|
cd "$srcdir/texlive-source"
|
2011-02-07 14:55:51 +00:00
|
|
|
|
|
|
|
#############################################################
|
|
|
|
### install
|
2013-07-10 16:41:40 +00:00
|
|
|
# fixes for xindy
|
|
|
|
find utils/xindy -name Makefile -exec sed -i -e "s|^prefix =.\+$|prefix = $pkgdir/usr|" -e "s|^mandir =.\+$|mandir = \${prefix}/share/man|" -e "s|^datadir =.\+$|datadir = \${datarootdir}/texmf|" -e "s|^docdir =.\+$|docdir = \${datadir}/doc/xindy|" '{}' \;
|
2011-02-07 14:55:51 +00:00
|
|
|
|
|
|
|
echo "-------------------------------------------------------"
|
|
|
|
echo "--> Proceeding with make install ..."
|
|
|
|
echo "-------------------------------------------------------"
|
|
|
|
cd Work
|
2012-02-06 15:41:43 +00:00
|
|
|
make DESTDIR="${pkgdir}" texmf="$pkgdir"/usr/share/texmf install
|
|
|
|
rm -rf "${pkgdir}"/usr/{texmf,share/texmf-dist}
|
2011-12-24 08:09:03 +00:00
|
|
|
|
2013-08-03 21:15:44 +00:00
|
|
|
## symlink engines by hand. texlinks has moved to texlive-core...
|
2020-06-18 02:33:57 +00:00
|
|
|
mkdir -p "${pkgdir}"/usr/bin
|
|
|
|
ln -s eptex "${pkgdir}"/usr/bin/platex
|
|
|
|
ln -s euptex "${pkgdir}"/usr/bin/uplatex
|
|
|
|
ln -s luatex "${pkgdir}"/usr/bin/dvilualatex
|
|
|
|
ln -s luatex "${pkgdir}"/usr/bin/dviluatex
|
|
|
|
ln -s luahbtex "${pkgdir}"/usr/bin/lualatex
|
|
|
|
ln -s pdftex "${pkgdir}"/usr/bin/amstex
|
|
|
|
ln -s pdftex "${pkgdir}"/usr/bin/cslatex
|
|
|
|
ln -s pdftex "${pkgdir}"/usr/bin/csplain
|
|
|
|
ln -s pdftex "${pkgdir}"/usr/bin/eplain
|
|
|
|
ln -s pdftex "${pkgdir}"/usr/bin/etex
|
|
|
|
ln -s pdftex "${pkgdir}"/usr/bin/jadetex
|
|
|
|
ln -s pdftex "${pkgdir}"/usr/bin/latex
|
|
|
|
ln -s tex "${pkgdir}"/usr/bin/lollipop
|
|
|
|
ln -s pdftex "${pkgdir}"/usr/bin/mex
|
|
|
|
ln -s pdftex "${pkgdir}"/usr/bin/mllatex
|
|
|
|
ln -s pdftex "${pkgdir}"/usr/bin/mltex
|
|
|
|
ln -s pdftex "${pkgdir}"/usr/bin/pdfetex
|
|
|
|
ln -s pdftex "${pkgdir}"/usr/bin/pdfcslatex
|
|
|
|
ln -s pdftex "${pkgdir}"/usr/bin/pdfcsplain
|
|
|
|
ln -s pdftex "${pkgdir}"/usr/bin/pdfjadetex
|
|
|
|
ln -s pdftex "${pkgdir}"/usr/bin/pdflatex
|
|
|
|
ln -s pdftex "${pkgdir}"/usr/bin/pdfmex
|
|
|
|
ln -s pdftex "${pkgdir}"/usr/bin/pdfxmltex
|
|
|
|
ln -s pdftex "${pkgdir}"/usr/bin/texsis
|
|
|
|
ln -s pdftex "${pkgdir}"/usr/bin/utf8mex
|
|
|
|
ln -s pdftex "${pkgdir}"/usr/bin/xmltex
|
|
|
|
ln -s xetex "${pkgdir}"/usr/bin/xelatex
|
2016-08-05 13:02:06 +00:00
|
|
|
|
2011-02-07 14:55:51 +00:00
|
|
|
#############################################################
|
2011-05-08 18:02:30 +00:00
|
|
|
# remove dangling symlinks
|
2011-12-24 08:09:03 +00:00
|
|
|
_bibtexextra_scripts="
|
2017-07-17 23:37:12 +00:00
|
|
|
bbl2bib
|
2018-06-16 10:58:19 +00:00
|
|
|
bib2gls
|
2015-09-15 00:00:58 +00:00
|
|
|
bibdoiadd
|
2017-07-17 23:37:12 +00:00
|
|
|
bibexport
|
|
|
|
bibmradd
|
2018-06-16 10:58:19 +00:00
|
|
|
biburl2doi
|
2015-09-15 00:00:58 +00:00
|
|
|
bibzbladd
|
2018-06-16 10:58:19 +00:00
|
|
|
convertgls2bib
|
2012-07-22 16:56:57 +00:00
|
|
|
listbib
|
2015-09-15 00:00:58 +00:00
|
|
|
ltx2crossrefxml
|
2013-08-03 21:15:44 +00:00
|
|
|
multibibliography
|
2011-12-24 08:09:03 +00:00
|
|
|
urlbst
|
|
|
|
"
|
2011-05-08 18:02:30 +00:00
|
|
|
_core_scripts="
|
2013-08-03 21:15:44 +00:00
|
|
|
a2ping
|
|
|
|
a5toa4
|
|
|
|
adhocfilelist
|
2011-05-08 18:02:30 +00:00
|
|
|
afm2afm
|
2021-05-23 16:43:26 +00:00
|
|
|
albatross
|
2013-08-03 21:15:44 +00:00
|
|
|
allcm
|
|
|
|
allec
|
|
|
|
allneeded
|
|
|
|
arara
|
2011-05-08 18:02:30 +00:00
|
|
|
arlatex
|
|
|
|
autoinst
|
|
|
|
bundledoc
|
2012-07-22 16:56:57 +00:00
|
|
|
checkcites
|
2016-08-05 13:02:06 +00:00
|
|
|
checklistings
|
2020-06-18 02:33:57 +00:00
|
|
|
chklref
|
2013-08-03 21:15:44 +00:00
|
|
|
chkweb
|
2015-09-15 00:00:58 +00:00
|
|
|
cjk-gs-integrate
|
2019-06-20 23:11:38 +00:00
|
|
|
cluttex
|
2020-06-18 02:33:57 +00:00
|
|
|
cllualatex
|
|
|
|
clxelatex
|
2013-08-03 21:15:44 +00:00
|
|
|
context
|
2014-08-29 00:40:25 +00:00
|
|
|
contextjit
|
2019-06-20 23:11:38 +00:00
|
|
|
ctanbib
|
2011-12-24 08:09:03 +00:00
|
|
|
ctanify
|
|
|
|
ctanupload
|
2018-06-16 10:58:19 +00:00
|
|
|
ctan-o-mat
|
2011-05-08 18:02:30 +00:00
|
|
|
de-macro
|
2014-08-29 00:40:25 +00:00
|
|
|
depythontex
|
2013-08-03 21:15:44 +00:00
|
|
|
deweb
|
2011-12-24 08:09:03 +00:00
|
|
|
dosepsbin
|
2013-08-03 21:15:44 +00:00
|
|
|
dtxgen
|
|
|
|
dvi2fax
|
2011-05-08 18:02:30 +00:00
|
|
|
dviasm
|
2018-06-16 10:58:19 +00:00
|
|
|
dviinfox
|
2013-08-03 21:15:44 +00:00
|
|
|
dvired
|
|
|
|
e2pall
|
2011-05-08 18:02:30 +00:00
|
|
|
epstopdf
|
|
|
|
findhyph
|
2013-08-03 21:15:44 +00:00
|
|
|
fmtutil
|
|
|
|
fmtutil-sys
|
2017-07-17 23:37:12 +00:00
|
|
|
fmtutil-user
|
2013-08-03 21:15:44 +00:00
|
|
|
fontinst
|
2011-05-08 18:02:30 +00:00
|
|
|
fragmaster
|
2021-05-23 16:43:26 +00:00
|
|
|
git-latexdiff
|
2017-07-17 23:37:12 +00:00
|
|
|
ht
|
|
|
|
htcontext
|
|
|
|
htlatex
|
|
|
|
htmex
|
|
|
|
httex
|
|
|
|
httexi
|
|
|
|
htxelatex
|
|
|
|
htxetex
|
2011-05-08 18:02:30 +00:00
|
|
|
installfont-tl
|
2018-06-16 10:58:19 +00:00
|
|
|
jfmutil
|
2020-06-18 02:33:57 +00:00
|
|
|
ketcindy
|
2013-08-03 21:15:44 +00:00
|
|
|
kpsepath
|
|
|
|
kpsetool
|
|
|
|
kpsewhere
|
|
|
|
kpsexpand
|
2014-08-29 00:40:25 +00:00
|
|
|
latex-git-log
|
2017-07-17 23:37:12 +00:00
|
|
|
latex-papersize
|
2011-05-08 18:02:30 +00:00
|
|
|
latex2man
|
2017-07-17 23:37:12 +00:00
|
|
|
latex2nemeth
|
2018-06-16 10:58:19 +00:00
|
|
|
latexdef
|
2011-05-08 18:02:30 +00:00
|
|
|
latexdiff
|
|
|
|
latexdiff-vc
|
2012-07-22 16:56:57 +00:00
|
|
|
latexfileversion
|
2014-08-29 00:40:25 +00:00
|
|
|
latexindent
|
2011-05-08 18:02:30 +00:00
|
|
|
latexmk
|
2013-08-03 21:15:44 +00:00
|
|
|
latexpand
|
2011-05-08 18:02:30 +00:00
|
|
|
latexrevise
|
|
|
|
listings-ext.sh
|
2021-05-23 16:43:26 +00:00
|
|
|
llmk
|
2013-08-03 21:15:44 +00:00
|
|
|
ltxfileinfo
|
2014-08-29 00:40:25 +00:00
|
|
|
ltximg
|
2013-08-03 21:15:44 +00:00
|
|
|
luaotfload-tool
|
|
|
|
luatools
|
2017-07-17 23:37:12 +00:00
|
|
|
lwarpmk
|
2016-08-05 13:02:06 +00:00
|
|
|
make4ht
|
2011-12-24 08:09:03 +00:00
|
|
|
match_parens
|
|
|
|
mf2pt1
|
2017-07-17 23:37:12 +00:00
|
|
|
mk4ht
|
2011-05-08 18:02:30 +00:00
|
|
|
mkjobtexmf
|
|
|
|
mkt1font
|
2013-08-03 21:15:44 +00:00
|
|
|
mktexfmt
|
2020-06-18 02:33:57 +00:00
|
|
|
mktexlsr
|
|
|
|
mktexmf
|
|
|
|
mktexpk
|
|
|
|
mktextfm
|
2011-05-08 18:02:30 +00:00
|
|
|
mptopdf
|
2013-08-03 21:15:44 +00:00
|
|
|
mtxrun
|
2014-08-29 00:40:25 +00:00
|
|
|
mtxrunjit
|
2011-05-08 18:02:30 +00:00
|
|
|
ot2kpx
|
2020-06-18 02:33:57 +00:00
|
|
|
pamphletangler
|
2011-05-08 18:02:30 +00:00
|
|
|
pdfatfi
|
2016-08-05 13:02:06 +00:00
|
|
|
pdfbook2
|
2011-05-08 18:02:30 +00:00
|
|
|
pdfcrop
|
|
|
|
pdfjam
|
2017-07-17 23:37:12 +00:00
|
|
|
pdflatexpicscale
|
2019-06-20 23:11:38 +00:00
|
|
|
pdftex-quiet
|
2016-08-05 13:02:06 +00:00
|
|
|
pdfxup
|
2013-08-03 21:15:44 +00:00
|
|
|
pfarrei
|
2011-05-08 18:02:30 +00:00
|
|
|
pkfix
|
|
|
|
pkfix-helper
|
2013-08-03 21:15:44 +00:00
|
|
|
ps2eps
|
|
|
|
ps2frag
|
|
|
|
pslatex
|
2011-05-08 18:02:30 +00:00
|
|
|
purifyeps
|
2014-08-29 00:40:25 +00:00
|
|
|
pythontex
|
2011-05-08 18:02:30 +00:00
|
|
|
repstopdf
|
|
|
|
rpdfcrop
|
2013-08-03 21:15:44 +00:00
|
|
|
rungs
|
|
|
|
simpdftex
|
2021-05-23 16:43:26 +00:00
|
|
|
spix
|
2016-08-05 13:02:06 +00:00
|
|
|
srcredact
|
2011-09-17 17:37:29 +00:00
|
|
|
sty2dtx
|
2016-08-05 13:02:06 +00:00
|
|
|
tex4ebook
|
2013-08-03 21:15:44 +00:00
|
|
|
texconfig
|
|
|
|
texconfig-dialog
|
|
|
|
texconfig-sys
|
2011-05-08 18:02:30 +00:00
|
|
|
texcount
|
2011-09-17 17:37:29 +00:00
|
|
|
texdef
|
2011-05-08 18:02:30 +00:00
|
|
|
texdiff
|
|
|
|
texdirflatten
|
2013-08-03 21:15:44 +00:00
|
|
|
texdoc
|
|
|
|
texdoctk
|
|
|
|
texexec
|
2014-08-29 00:40:25 +00:00
|
|
|
texfot
|
2020-06-18 02:33:57 +00:00
|
|
|
texhash
|
2013-08-03 21:15:44 +00:00
|
|
|
texlinks
|
2011-12-24 08:09:03 +00:00
|
|
|
texliveonfly
|
2011-05-08 18:02:30 +00:00
|
|
|
texloganalyser
|
2013-08-03 21:15:44 +00:00
|
|
|
texmfstart
|
2017-07-17 23:37:12 +00:00
|
|
|
texosquery
|
|
|
|
texosquery-jre5
|
|
|
|
texosquery-jre8
|
2020-06-18 02:33:57 +00:00
|
|
|
texplate
|
2011-05-08 18:02:30 +00:00
|
|
|
thumbpdf
|
2018-06-16 10:58:19 +00:00
|
|
|
tlcockpit
|
|
|
|
tlshell
|
2013-08-03 21:15:44 +00:00
|
|
|
typeoutfileinfo
|
|
|
|
updmap
|
|
|
|
updmap-sys
|
2017-07-17 23:37:12 +00:00
|
|
|
updmap-user
|
2011-05-08 18:02:30 +00:00
|
|
|
vpl2ovp
|
|
|
|
vpl2vpl
|
2017-07-17 23:37:12 +00:00
|
|
|
xhlatex
|
2019-06-20 23:11:38 +00:00
|
|
|
xindex
|
2011-05-08 18:02:30 +00:00
|
|
|
"
|
2014-08-29 00:40:25 +00:00
|
|
|
_games_scripts="rubikrotation"
|
2016-08-05 13:02:06 +00:00
|
|
|
_humanities_scripts="diadia"
|
2013-08-03 21:15:44 +00:00
|
|
|
_langcyrillic_scripts="rubibtex rumakeindex"
|
2014-08-29 00:40:25 +00:00
|
|
|
_langextra_scripts="ebong"
|
|
|
|
_langgreek_scripts="mkgrkindex"
|
|
|
|
_langjapanese_scripts="convbkmk ptex2pdf
|
2013-08-03 21:15:44 +00:00
|
|
|
kanji-fontmap-creator
|
|
|
|
kanji-config-updmap
|
|
|
|
kanji-config-updmap-sys
|
2017-07-17 23:37:12 +00:00
|
|
|
kanji-config-updmap-user
|
2013-08-03 21:15:44 +00:00
|
|
|
"
|
2014-08-29 00:40:25 +00:00
|
|
|
_langkorean_scripts="jamo-normalize komkindex ttf2kotexfont"
|
2012-07-22 16:56:57 +00:00
|
|
|
_latexextra_scripts="
|
|
|
|
authorindex
|
|
|
|
exceltex
|
2021-05-23 16:43:26 +00:00
|
|
|
hyperxmp-add-bytecount
|
2018-06-16 10:58:19 +00:00
|
|
|
l3build
|
2016-08-05 13:02:06 +00:00
|
|
|
makedtx
|
2012-07-22 16:56:57 +00:00
|
|
|
makeglossaries
|
2016-08-05 13:02:06 +00:00
|
|
|
makeglossaries-lite
|
2012-07-22 16:56:57 +00:00
|
|
|
pdfannotextractor
|
|
|
|
perltex
|
|
|
|
ps4pdf
|
|
|
|
splitindex
|
|
|
|
svn-multi
|
2015-09-15 00:00:58 +00:00
|
|
|
vpe
|
2019-06-20 23:11:38 +00:00
|
|
|
webquiz
|
2018-06-16 10:58:19 +00:00
|
|
|
wordcount
|
2015-09-15 00:00:58 +00:00
|
|
|
yplan"
|
2014-08-29 00:40:25 +00:00
|
|
|
_music_scripts="lily-glyph-commands lily-image-commands lily-rebuild-pdfs
|
2021-05-23 16:43:26 +00:00
|
|
|
m-tx
|
|
|
|
musixtex
|
|
|
|
musixflx
|
|
|
|
pmxchords"
|
2016-08-05 13:02:06 +00:00
|
|
|
_pictures_scripts="
|
|
|
|
cachepic
|
|
|
|
epspdf
|
|
|
|
epspdftk
|
|
|
|
fig4latex
|
|
|
|
getmapdl
|
|
|
|
mathspic
|
|
|
|
mkpic
|
2021-05-23 16:43:26 +00:00
|
|
|
pn2pdf
|
|
|
|
tikztosvg"
|
2012-07-22 16:56:57 +00:00
|
|
|
_pstricks_scripts="pedigree pst2pdf"
|
2015-09-15 00:00:58 +00:00
|
|
|
_science_scripts="pygmentex ulqda"
|
2011-05-08 18:02:30 +00:00
|
|
|
for s in \
|
|
|
|
${_bibtexextra_scripts} \
|
2016-08-05 13:02:06 +00:00
|
|
|
${_core_scripts} \
|
2014-08-29 00:40:25 +00:00
|
|
|
${_games_scripts} \
|
2016-08-05 13:02:06 +00:00
|
|
|
${_htmlxml_scripts} \
|
|
|
|
${_humanities_scripts} \
|
2013-08-03 21:15:44 +00:00
|
|
|
${_langcyrillic_scripts} \
|
2014-08-29 00:40:25 +00:00
|
|
|
${_langextra_scripts} \
|
|
|
|
${_langgreek_scripts} \
|
|
|
|
${_langjapanese_scripts} \
|
|
|
|
${_langkorean_scripts} \
|
2011-05-08 18:02:30 +00:00
|
|
|
${_latexextra_scripts} \
|
2011-09-17 17:37:29 +00:00
|
|
|
${_music_scripts} \
|
2011-05-08 18:02:30 +00:00
|
|
|
${_pictures_scripts} \
|
|
|
|
${_pstricks_scripts} \
|
|
|
|
${_science_scripts} \
|
|
|
|
tlmgr; do
|
2013-08-03 21:15:44 +00:00
|
|
|
! readlink -e "$pkgdir"/usr/bin/$s && rm "$pkgdir"/usr/bin/$s
|
2011-02-07 14:55:51 +00:00
|
|
|
done
|
|
|
|
###################################################################
|
|
|
|
|
2016-02-05 13:55:22 +00:00
|
|
|
# remove libsynctex
|
2016-08-05 13:02:06 +00:00
|
|
|
rm -f "$pkgdir"/usr/include/synctex/*
|
2016-02-05 13:55:22 +00:00
|
|
|
rm -f "$pkgdir"/usr/lib/libsynctex.*
|
2016-08-05 13:02:06 +00:00
|
|
|
rm -f "$pkgdir"/usr/lib/pkgconfig/synctex.pc
|
|
|
|
rm -f "$pkgdir"/usr/share/man/man*/synctex.*
|
2016-02-05 13:55:22 +00:00
|
|
|
}
|