From 01cee8d48b49f5e2d28343a954b4713acb174c7a Mon Sep 17 00:00:00 2001 From: Leah Neukirchen Date: Sat, 16 Apr 2022 14:02:47 +0200 Subject: [PATCH] texlive2022-bin: install infraonly by default, tweak INSTALL.msg. --- srcpkgs/texlive2022-bin/INSTALL.msg | 18 +++++------------- srcpkgs/texlive2022-bin/template | 11 +++++++---- 2 files changed, 12 insertions(+), 17 deletions(-) diff --git a/srcpkgs/texlive2022-bin/INSTALL.msg b/srcpkgs/texlive2022-bin/INSTALL.msg index 05a58d965c72..1ccb0429afc2 100644 --- a/srcpkgs/texlive2022-bin/INSTALL.msg +++ b/srcpkgs/texlive2022-bin/INSTALL.msg @@ -1,11 +1,4 @@ -- TeXLive is free software see the files: - - /usr/share/licenses/texlive2022-bin/LICENSE.TL - /usr/share/licenses/texlive2022-bin/LICENSE.CTAN - -===================================================================== - - To update you TeXLive installation use only the program + To update your TeX Live installation use only the program /opt/texlive/2022/bin//tlmgr @@ -13,13 +6,12 @@ - x86_64-linux ==> x86_64 architecture - i386-linux ==> i386 architecture - see: - + for details see: http://www.tug.org/texlive/doc/tlmgr.html#EXAMPLES - - for the details and the documentation in - WARNING: To avoid messing up your TeXLive installation, DON'T use + WARNING: To avoid messing up your TeX Live installation, DON'T use the installation scripts in /opt/texlive-installer. + This package only installs TeX Live infrastructure now, not TeX Live itself. + For a basic installation (previous default), run "tlmgr install scheme-basic". For a full installation, run "tlmgr install scheme-full". diff --git a/srcpkgs/texlive2022-bin/template b/srcpkgs/texlive2022-bin/template index 902d4dc245d7..679a1e4e4bdd 100644 --- a/srcpkgs/texlive2022-bin/template +++ b/srcpkgs/texlive2022-bin/template @@ -1,7 +1,7 @@ # Template file for 'texlive2022-bin' pkgname=texlive2022-bin version=2022 -revision=1 +revision=2 archs="x86_64* i686 aarch64 arm*" create_wrksrc=yes depends="cairo pixman graphite gd poppler libsigsegv @@ -15,8 +15,9 @@ distfiles="ftp://ftp.tug.org/texlive/historic/${version}/install-tl-unx.tar.gz>$ checksum=e67edec49df6b7c4a987a7d5a9b31bcf41258220f9ac841c7a836080cd334fb5 # Package build options -build_options="basic small medium full" -build_options_default="small" +build_options="infraonly basic small medium full" +build_options_default="infraonly" +desc_option_infraonly="Install TeXLive infrastructure only" desc_option_basic="Install TeXLive using scheme-basic" desc_option_small="Install TeXLive using scheme-small" desc_option_medium="Install TeXLive using scheme-medium" @@ -31,7 +32,9 @@ do_install() { vmkdir opt/texlive${version}-installer vcopy "install-tl-*/*" /opt/texlive${version}-installer vinstall ${FILESDIR}/void.profile 644 opt/texlive${version}-installer - if [ "$build_option_basic" ]; then + if [ "$build_option_infraonly" ]; then + echo "selected_scheme scheme-infraonly" + elif [ "$build_option_basic" ]; then echo "selected_scheme scheme-basic" elif [ "$build_option_small" ]; then echo "selected_scheme scheme-small"