termux-packages/packages/texlive/texlive-latexextra.subpackage.sh
Henrik Grimler 8efa9ef5e0 texlive: make new subpackages conflict with fontsextra
Fix typos when retrieving file lists for texlive-libertinus-type1 and
texlive-ipaex-type1 and make sure mktexlsr can be found in postinst scripts

%ci:no-build
2021-12-04 14:36:36 +01:00

10 lines
592 B
Bash

TERMUX_SUBPKG_DESCRIPTION="Texlive's collection-latexextra"
TERMUX_SUBPKG_DEPENDS="texlive-fontsextra"
TERMUX_SUBPKG_INCLUDE=$($TERMUX_PKG_BUILDER_DIR/parse_tlpdb.py collection-latexextra $TERMUX_PKG_TMPDIR/texlive.tlpdb)
TERMUX_SUBPKG_CONFLICTS="texlive-bin (<< 20190410), texlive (<= 20190410-2), texlive-latexrecommended (<= 20190410-2), texlive-pictures (<= 20190410-2), texlive-luatex (<= 20190410-2), texlive-plaingeneric (<= 20190410-2)"
termux_step_create_subpkg_debscripts() {
echo "#!$TERMUX_PREFIX/bin/sh" > postinst
echo 'PATH=$PATH:$PREFIX/bin/texlive mktexlsr' >> postinst
}