diff --git a/srcpkgs/texlive-bin/template b/srcpkgs/texlive-bin/template index 9cb61037c25..5c6a74fbddc 100644 --- a/srcpkgs/texlive-bin/template +++ b/srcpkgs/texlive-bin/template @@ -1,7 +1,7 @@ # Template file for 'texlive-bin' pkgname=texlive-bin version=2014 -revision=1 +revision=2 maintainer="Christian Neukirchen " homepage="http://tug.org/texlive/" license="GPL-2" @@ -9,18 +9,13 @@ short_desc="TeX Live Binary distribution through tl-install (newest version)" provides="texlive-${version}_${revision}" depends="texlive2014-bin" -do_install(){ - vmkdir etc/profile.d - case "$XBPS_TARGET_MACHINE" in - i686) - sed -e "s/@@ARCH@@/i386-linux/;s/@@VERSION@@/${version}/" \ - ${FILESDIR}/texlive.sh \ - > ${DESTDIR}/etc/profile.d/texlive.sh - ;; - x86_64) - sed -e "s/@@ARCH@@/x86_64-linux/;s/@@VERSION@@/${version}/" \ - ${FILESDIR}/texlive.sh \ - > ${DESTDIR}/etc/profile.d/texlive.sh - ;; - esac +do_install() { + vmkdir etc/profile.d + case "$XBPS_TARGET_MACHINE" in + i686) tlarch=i386;; + x86_64) tlarch=x86_64;; + arm*) tlarch=armhf;; + esac + sed -e "s/@@ARCH@@/${tlarch}/; s/@@VERSION@@/${version}/" \ + ${FILESDIR}/texlive.sh >${DESTDIR}/etc/profile.d/texlive.sh }