New comment by zenny on void-packages repository https://github.com/void-linux/void-packages/issues/34005#issuecomment-964970304 Comment: I used the following template to create package from the source: ``` # Template file for 'texlive-latexextra' pkgname=texlive-latexextra version=2021.58668 revision=2 build_style="texmf" depends="perl-File-Which python3-Pygments texlive-core texlive-pictures" short_desc="TeX Live - Collection of LaTeX addon packages" maintainer="fosslinux " license="GPL-2.0-or-later" homepage="http://tug.org/texlive/" distfiles="https://sources.archlinux.org/other/texlive/${pkgname}-${version}-src.zip" checksum=9c2ef3ce71ad656df7644770a2c4aec27c4ea9375421d0ab3b56cb5b25a06287 ``` It built the package and installed, yet emacs reports `pdfx.sty` not installed, although: ``` ]# ls -la /usr/share/texmf-dist/tex/latex/pdfx/pdfx.sty -rw-r--r-- 1 root root 109591 Nov 10 01:49 /usr/share/texmf-dist/tex/latex/pdfx/pdfx.sty ``` However, the installed package is not seen by `xbps-query`: ``` # xbps-query -v -Rs texlive-latexextra [-] texlive-latexextra-2020.57067_1 TeX Live - Collection of LaTeX addon packages ``` Trying to reinstall the package using `xi` says: ``` [~/gitrepos/void-packages ]$ xi texlive-latexextra Password: [*] Updating repository `https://alpha.de.repo.voidlinux.org/current/x86_64-repodata' ... [*] Updating repository `https://alpha.de.repo.voidlinux.org/current/multilib/x86_64-repodata' ... [*] Updating repository `https://alpha.de.repo.voidlinux.org/current/nonfree/x86_64-repodata' ... Package `texlive-latexextra' already installed. ``` ???