texlive: Pull latexmk into a subpackage

This commit is contained in:
Tung Anh Vu 2022-03-15 20:50:59 +01:00 committed by Piotr
parent 7252807bfa
commit b4eac76aff
2 changed files with 12 additions and 2 deletions

1
srcpkgs/texlive-latexmk Symbolic link
View file

@ -0,0 +1 @@
texlive

View file

@ -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 <fosslinux@aussies.space>"
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
}
}