New comment by tornaria on void-packages repository https://github.com/void-linux/void-packages/pull/47130#issuecomment-1879775044 Comment: Small suggestion: ``` --- a/common/build-style/texmf.sh +++ b/common/build-style/texmf.sh @@ -3,14 +3,11 @@ do_build() { # Extract the source files mkdir -p "build/usr/share/texmf-dist" find . -maxdepth 1 -print -name "*.tar.xz" \ - -exec bsdtar -C "build/usr/share/texmf-dist" -xf {} \; + -exec bsdtar \ + -s '|^texmf-dist/||' \ + -C "build/usr/share/texmf-dist" \ + -xf {} \; cd "build/usr/share/texmf-dist/" - # Everything in usr/share/texmf-dist/texmf-dist should really be in - # usr/share/texmf-dist, so we move it - if [ -d "texmf-dist" ] ; then - rsync -ar texmf-dist/ ./ - rm -rf texmf-dist/ - fi # LICENSEs are unneeded rm -f LICENSE* ``` If you do this, maybe get rid of the rsync makedepends ? Do you think there's a chance we can try to fix `texdoc` ? (#30340)