25 lines
744 B
Bash
25 lines
744 B
Bash
# Template file for 'texlive-bin'
|
|
pkgname=texlive-bin
|
|
version=2019
|
|
revision=1
|
|
depends="texlive${version}-bin"
|
|
short_desc="TeX Live Binary distribution through tl-install (newest version)"
|
|
maintainer="Leah Neukirchen <leah@vuxu.org>"
|
|
license="GPL-2"
|
|
homepage="http://tug.org/texlive/"
|
|
provides="texlive-${version}_${revision}"
|
|
|
|
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
|
|
}
|