texlive-bin: update to 2018.

This commit is contained in:
John 2018-04-29 12:49:52 +02:00 committed by Leah Neukirchen
parent 76bb9c776f
commit 0c7443a79b

View file

@ -1,21 +1,24 @@
# Template file for 'texlive-bin' # Template file for 'texlive-bin'
pkgname=texlive-bin pkgname=texlive-bin
version=2017 version=2018
revision=1 revision=1
maintainer="Leah Neukirchen <leah@vuxu.org>" maintainer="Leah Neukirchen <leah@vuxu.org>"
homepage="http://tug.org/texlive/" homepage="http://tug.org/texlive/"
license="GPL-2" license="GPL-2"
short_desc="TeX Live Binary distribution through tl-install (newest version)" short_desc="TeX Live Binary distribution through tl-install (newest version)"
provides="texlive-${version}_${revision}" provides="texlive-${version}_${revision}"
depends="texlive2017-bin" depends="texlive${version}-bin"
do_install() { do_install() {
vmkdir etc/profile.d vmkdir etc/profile.d
case "$XBPS_TARGET_MACHINE" in case "$XBPS_TARGET_MACHINE" in
i686) tlarch=i386;; i686) tlarch=i386-linux;;
x86_64) tlarch=x86_64;; x86_64) tlarch=x86_64-linux;;
arm*) tlarch=armhf;; x86_64-musl) tlarch=x86_64-linuxmusl;;
arm*) tlarch=armhf-linux;;
aarch64) tlarch=aarch64-linux;;
*) broken="$XBPS_TARGET_MACHINE is not supported";;
esac esac
sed -e "s/@@ARCH@@/${tlarch}-linux/; s/@@VERSION@@/${version}/" \ sed -e "s/@@ARCH@@/${tlarch}/; s/@@VERSION@@/${version}/" \
${FILESDIR}/texlive.sh >${DESTDIR}/etc/profile.d/texlive.sh ${FILESDIR}/texlive.sh >${DESTDIR}/etc/profile.d/texlive.sh
} }