termux-packages/packages/texlive/texlive-pstricks.subpackage.sh

10 lines
445 B
Bash

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