termux-packages/packages/texlive/texlive-latexextra.subpackage.sh
Henrik Grimler 4ead576743 texlive: mv from main repository
Also add profile.d script to add bin/texlive/ to path as binaries in texlive-bin have been moved there
2021-12-04 14:36:36 +01:00

10 lines
556 B
Bash

TERMUX_SUBPKG_DESCRIPTION="Texlive's collection-latexextra"
TERMUX_SUBPKG_DEPENDS="texlive-fontsextra"
TERMUX_SUBPKG_INCLUDE=$(python3 $TERMUX_PKG_BUILDER_DIR/parse_tlpdb.py 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 mktexlsr >> postinst
}