texlive-bin: support more archs
This commit is contained in:
parent
ead7c5657e
commit
913ac4d241
|
@ -1,7 +1,7 @@
|
|||
# Template file for 'texlive-bin'
|
||||
pkgname=texlive-bin
|
||||
version=2014
|
||||
revision=1
|
||||
revision=2
|
||||
maintainer="Christian Neukirchen <chneukirchen@gmail.com>"
|
||||
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
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue