Install this version:
emerge -a =dev-tex/latexmk-4.85
If this version is masked, you can unmask it using the autounmask tool or standard emerge options:
autounmask =dev-tex/latexmk-4.85
Or alternatively:
emerge --autounmask-write -a =dev-tex/latexmk-4.85
| Version | EAPI | Keywords | Slot |
|---|---|---|---|
| 4.85 | 8 | ~amd64 | 0 |
# Copyright 1999-2025 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
inherit bash-completion-r1
DESCRIPTION="Perl script for automatically building LaTeX documents"
HOMEPAGE="https://personal.psu.edu/~jcc8/software/latexmk/
https://ctan.org/pkg/latexmk/"
SRC_URI="https://www.cantab.net/users/johncollins/${PN}/${P/./}.zip"
S="${WORKDIR}/${PN}"
LICENSE="GPL-2"
SLOT="0"
KEYWORDS="~amd64"
RDEPEND="
dev-lang/perl
virtual/latex-base
"
DEPEND="${RDEPEND}"
BDEPEND="app-arch/unzip"
src_install() {
newbin latexmk.pl latexmk
doman latexmk.1
dodoc CHANGES README latexmk.pdf latexmk.txt
dodoc -r example_rcfiles extra-scripts
newbashcomp "${FILESDIR}"/completion.bash-2 ${PN}
}
dev-lang/perl virtual/latex-base
dev-lang/perl virtual/latex-base
app-arch/unzip