From b4eac76aff55cda5326e108b49a855fd11a944fa Mon Sep 17 00:00:00 2001 From: Tung Anh Vu Date: Tue, 15 Mar 2022 20:50:59 +0100 Subject: [PATCH] texlive: Pull latexmk into a subpackage --- srcpkgs/texlive-latexmk | 1 + srcpkgs/texlive/template | 13 +++++++++++-- 2 files changed, 12 insertions(+), 2 deletions(-) create mode 120000 srcpkgs/texlive-latexmk diff --git a/srcpkgs/texlive-latexmk b/srcpkgs/texlive-latexmk new file mode 120000 index 0000000000..c6cca627ba --- /dev/null +++ b/srcpkgs/texlive-latexmk @@ -0,0 +1 @@ +texlive \ No newline at end of file diff --git a/srcpkgs/texlive/template b/srcpkgs/texlive/template index cf3fa5c804..b8bb1919fd 100644 --- a/srcpkgs/texlive/template +++ b/srcpkgs/texlive/template @@ -1,7 +1,7 @@ # Template file for 'texlive' pkgname=texlive version=20210325 -revision=2 +revision=3 wrksrc="texlive-${version}-source" build_wrksrc="build" build_style=gnu-configure @@ -71,7 +71,7 @@ makedepends="cairo-devel freetype-devel gd-devel graphite-devel gmp-devel harfbuzz-devel icu-devel libpaper-devel libpng-devel mpfr-devel poppler-devel pixman-devel libteckit-devel zlib-devel zziplib-devel libXaw-devel" -depends="dialog ghostscript perl-Tk texlive-core xbps-triggers" +depends="dialog ghostscript perl-Tk texlive-core texlive-latexmk xbps-triggers" short_desc="TeX Live" maintainer="fosslinux " license="GPL-2.0-or-later" @@ -393,3 +393,12 @@ texlive-PythonTeX_package() { vmove usr/share/texmf-dist/scripts/pythontex } } + +texlive-latexmk_package() { + depends="perl" + short_desc+=" - script for compiling the correct number of times" + pkg_install() { + vmove usr/bin/latexmk + vmove usr/share/texmf-dist/scripts/latexmk + } +}