New package: texlive2025-bin-2025
This commit is contained in:
parent
16b6afd4d7
commit
161b8856a6
15
srcpkgs/texlive2025-bin/INSTALL
Normal file
15
srcpkgs/texlive2025-bin/INSTALL
Normal file
@ -0,0 +1,15 @@
|
|||||||
|
case "${ACTION}" in
|
||||||
|
post)
|
||||||
|
case "${UPDATE}" in
|
||||||
|
no)
|
||||||
|
cd opt/texlive2025-installer
|
||||||
|
case "${ARCH}" in
|
||||||
|
x86_64-musl)
|
||||||
|
./install-tl -profile void.profile -force-platform x86_64-linuxmusl
|
||||||
|
;;
|
||||||
|
*)
|
||||||
|
./install-tl -profile void.profile
|
||||||
|
;;
|
||||||
|
esac
|
||||||
|
esac
|
||||||
|
esac
|
8
srcpkgs/texlive2025-bin/REMOVE
Normal file
8
srcpkgs/texlive2025-bin/REMOVE
Normal file
@ -0,0 +1,8 @@
|
|||||||
|
# This script will clear the TeXLive directory
|
||||||
|
#
|
||||||
|
case "${ACTION}" in
|
||||||
|
post)
|
||||||
|
rm -rf opt/texlive/2025
|
||||||
|
rm -r opt/texlive2025-installer
|
||||||
|
;;
|
||||||
|
esac
|
17
srcpkgs/texlive2025-bin/files/README.voidlinux
Normal file
17
srcpkgs/texlive2025-bin/files/README.voidlinux
Normal file
@ -0,0 +1,17 @@
|
|||||||
|
To update your TeX Live installation use only the program
|
||||||
|
|
||||||
|
/opt/texlive/2025/bin/<arch>/tlmgr
|
||||||
|
|
||||||
|
where <arch> is:
|
||||||
|
- x86_64-linux ==> x86_64 architecture
|
||||||
|
- i386-linux ==> i386 architecture
|
||||||
|
|
||||||
|
for details see:
|
||||||
|
http://www.tug.org/texlive/doc/tlmgr.html#EXAMPLES
|
||||||
|
|
||||||
|
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".
|
8
srcpkgs/texlive2025-bin/files/void.profile
Normal file
8
srcpkgs/texlive2025-bin/files/void.profile
Normal file
@ -0,0 +1,8 @@
|
|||||||
|
# texlive.profile written for voidlinux
|
||||||
|
TEXDIR ../texlive/2025
|
||||||
|
TEXMFCONFIG ~/.texlive2025/texmf-config
|
||||||
|
TEXMFHOME ~/texmf
|
||||||
|
TEXMFLOCAL ../texlive/texmf-local
|
||||||
|
TEXMFSYSCONFIG ../texlive/2025/texmf-config
|
||||||
|
TEXMFSYSVAR ../texlive/2025/texmf-var
|
||||||
|
TEXMFVAR ~/.texlive2025/texmf-var
|
47
srcpkgs/texlive2025-bin/template
Normal file
47
srcpkgs/texlive2025-bin/template
Normal file
@ -0,0 +1,47 @@
|
|||||||
|
# Template file for 'texlive2025-bin'
|
||||||
|
pkgname=texlive2025-bin
|
||||||
|
version=2025
|
||||||
|
revision=1
|
||||||
|
archs="x86_64* i686 aarch64 arm*"
|
||||||
|
depends="cairo pixman graphite gd poppler libsigsegv
|
||||||
|
zziplib libpng libjpeg-turbo freetype icu harfbuzz wget perl
|
||||||
|
ghostscript xz"
|
||||||
|
short_desc="TeX Live Binary distribution through tl-install"
|
||||||
|
maintainer="Leah Neukirchen <leah@vuxu.org>"
|
||||||
|
license="GPL-2.0-or-later"
|
||||||
|
homepage="https://tug.org/texlive/"
|
||||||
|
distfiles="ftp://ftp.tug.org/texlive/historic/${version}/install-tl-unx.tar.gz"
|
||||||
|
checksum=9938f192af75f792e84282580cce6eedac32969e0e07b33cb39ca1b699e948b6
|
||||||
|
|
||||||
|
# Package build options
|
||||||
|
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"
|
||||||
|
desc_option_full="Install TeXLive using scheme-full"
|
||||||
|
|
||||||
|
pre_install() {
|
||||||
|
rm -rf tlpkg/installer/xz tlpkg/installer/wget tlpkg/installer/curl
|
||||||
|
}
|
||||||
|
|
||||||
|
do_install() {
|
||||||
|
vmkdir opt/texlive${version}-installer
|
||||||
|
vcopy "*" /opt/texlive${version}-installer
|
||||||
|
vinstall ${FILESDIR}/void.profile 644 opt/texlive${version}-installer
|
||||||
|
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"
|
||||||
|
elif [ "$build_option_medium" = "medium" ];then
|
||||||
|
echo "selected_scheme scheme-medium"
|
||||||
|
elif [ "$build_option_full" ];then
|
||||||
|
echo "selected_scheme scheme-full"
|
||||||
|
fi >>${DESTDIR}/opt/texlive${version}-installer/void.profile
|
||||||
|
vlicense ${DESTDIR}/opt/texlive${version}-installer/LICENSE.CTAN
|
||||||
|
vlicense ${DESTDIR}/opt/texlive${version}-installer/LICENSE.TL
|
||||||
|
vdoc "${FILESDIR}/README.voidlinux"
|
||||||
|
}
|
Loading…
x
Reference in New Issue
Block a user