28 lines
857 B
Bash
28 lines
857 B
Bash
# Template file for 'texlive-bin'
|
|
pkgname=texlive-bin
|
|
version=2020
|
|
revision=3
|
|
depends="texlive${version}-bin"
|
|
short_desc="TeX Live Binary distribution through tl-install (newest version)"
|
|
maintainer="Leah Neukirchen <leah@vuxu.org>"
|
|
license="GPL-2.0-or-later"
|
|
homepage="http://tug.org/texlive/"
|
|
# Newest texliveYYYY-bin shouldn't provide tex.
|
|
# This way updates will be pulled by packages depending on virtual.
|
|
provides="tex-${version}_1"
|
|
|
|
case "$XBPS_TARGET_MACHINE" in
|
|
i686) _tlarch=i386-linux;;
|
|
x86_64) _tlarch=x86_64-linux;;
|
|
x86_64-musl) _tlarch=x86_64-linuxmusl;;
|
|
arm*) _tlarch=armhf-linux;;
|
|
aarch64) _tlarch=aarch64-linux;;
|
|
*) broken="$XBPS_TARGET_MACHINE is not supported";;
|
|
esac
|
|
|
|
do_install() {
|
|
vmkdir etc/profile.d
|
|
sed -e "s/@@ARCH@@/${_tlarch}/; s/@@VERSION@@/${version}/" \
|
|
${FILESDIR}/texlive.sh >${DESTDIR}/etc/profile.d/texlive.sh
|
|
}
|