New package: texlive2019-bin-2019

Not default yet as not all CTAN mirrors provide it.
This commit is contained in:
Leah Neukirchen 2019-05-02 12:20:01 +02:00
parent 2400b56371
commit d9af98424c
5 changed files with 100 additions and 0 deletions

View file

@ -0,0 +1,15 @@
case "${ACTION}" in
post)
case "${UPDATE}" in
no)
cd opt/texlive2019-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

View file

@ -0,0 +1,25 @@
- TeXLive is free software see the files:
/usr/share/licenses/texlive2019-bin/LICENSE.TL
/usr/share/licenses/texlive2019-bin/LICENSE.CTAN
=====================================================================
To update you TeXLive installation use only the program
/opt/texlive/2019/<arch>/tlmgr
where <arch> is:
- x86_64-linux ==> x86_64 architecture
- i386-linux ==> i386 architecture
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
the installation scripts in /opt/texlive-installer.
For a full installation, run "tlmgr install scheme-full".

View file

@ -0,0 +1,8 @@
# This script will clear the TeXLive directory
#
case "${ACTION}" in
post)
rm -rf opt/texlive/2019
rm -r opt/texlive2019-installer
;;
esac

View file

@ -0,0 +1,8 @@
# texlive.profile written for voidlinux
TEXDIR ../texlive/2019
TEXMFCONFIG ~/.texlive2019/texmf-config
TEXMFHOME ~/texmf
TEXMFLOCAL ../texlive/texmf-local
TEXMFSYSCONFIG ../texlive/2019/texmf-config
TEXMFSYSVAR ../texlive/2019/texmf-var
TEXMFVAR ~/.texlive2019/texmf-var

View file

@ -0,0 +1,44 @@
# Template file for 'texlive-bin'
pkgname=texlive2019-bin
version=2019
revision=1
maintainer="Leah Neukirchen <leah@vuxu.org>"
homepage="http://tug.org/texlive/"
license="GPL-2"
short_desc="TeX Live Binary distribution through tl-install"
depends="cairo pixman graphite gd poppler libsigsegv
zziplib libpng libjpeg-turbo freetype icu harfbuzz wget perl
ghostscript xz"
distfiles="ftp://ftp.tug.org/texlive/historic/${version}/install-tl-unx.tar.gz>${pkgname}-${version}-${revision}.tar.gz"
checksum=44aa41b5783e345b7021387f19ac9637ff1ce5406a59754230c666642dfe7750
create_wrksrc=yes
# Package build options
build_options="basic small medium full"
build_options_default="small"
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 ${wrksrc}/install-tl*/tlpkg/installer/xz \
${wrksrc}/install-tl*/tlpkg/installer/wget
}
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
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
}