mirror of
https://github.com/void-linux/void-packages.git
synced 2025-08-02 10:52:57 +02:00
texlive-bin: support more archs
This commit is contained in:
parent
ead7c5657e
commit
913ac4d241
1 changed files with 10 additions and 15 deletions
|
@ -1,7 +1,7 @@
|
||||||
# Template file for 'texlive-bin'
|
# Template file for 'texlive-bin'
|
||||||
pkgname=texlive-bin
|
pkgname=texlive-bin
|
||||||
version=2014
|
version=2014
|
||||||
revision=1
|
revision=2
|
||||||
maintainer="Christian Neukirchen <chneukirchen@gmail.com>"
|
maintainer="Christian Neukirchen <chneukirchen@gmail.com>"
|
||||||
homepage="http://tug.org/texlive/"
|
homepage="http://tug.org/texlive/"
|
||||||
license="GPL-2"
|
license="GPL-2"
|
||||||
|
@ -9,18 +9,13 @@ short_desc="TeX Live Binary distribution through tl-install (newest version)"
|
||||||
provides="texlive-${version}_${revision}"
|
provides="texlive-${version}_${revision}"
|
||||||
depends="texlive2014-bin"
|
depends="texlive2014-bin"
|
||||||
|
|
||||||
do_install(){
|
do_install() {
|
||||||
vmkdir etc/profile.d
|
vmkdir etc/profile.d
|
||||||
case "$XBPS_TARGET_MACHINE" in
|
case "$XBPS_TARGET_MACHINE" in
|
||||||
i686)
|
i686) tlarch=i386;;
|
||||||
sed -e "s/@@ARCH@@/i386-linux/;s/@@VERSION@@/${version}/" \
|
x86_64) tlarch=x86_64;;
|
||||||
${FILESDIR}/texlive.sh \
|
arm*) tlarch=armhf;;
|
||||||
> ${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
|
esac
|
||||||
|
sed -e "s/@@ARCH@@/${tlarch}/; s/@@VERSION@@/${version}/" \
|
||||||
|
${FILESDIR}/texlive.sh >${DESTDIR}/etc/profile.d/texlive.sh
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Reference in a new issue