2014-04-30 09:20:25 +00:00
|
|
|
# Template file for 'texlive-bin'
|
|
|
|
pkgname=texlive-bin
|
2015-07-05 14:25:11 +00:00
|
|
|
version=2015
|
|
|
|
revision=1
|
2014-07-08 14:19:27 +00:00
|
|
|
maintainer="Christian Neukirchen <chneukirchen@gmail.com>"
|
2014-04-30 09:20:25 +00:00
|
|
|
homepage="http://tug.org/texlive/"
|
|
|
|
license="GPL-2"
|
2014-07-08 14:19:27 +00:00
|
|
|
short_desc="TeX Live Binary distribution through tl-install (newest version)"
|
2014-04-30 15:44:20 +00:00
|
|
|
provides="texlive-${version}_${revision}"
|
2015-07-05 14:25:11 +00:00
|
|
|
depends="texlive2015-bin"
|
2014-04-30 09:20:25 +00:00
|
|
|
|
2014-09-15 16:43:04 +00:00
|
|
|
do_install() {
|
|
|
|
vmkdir etc/profile.d
|
|
|
|
case "$XBPS_TARGET_MACHINE" in
|
|
|
|
i686) tlarch=i386;;
|
|
|
|
x86_64) tlarch=x86_64;;
|
|
|
|
arm*) tlarch=armhf;;
|
|
|
|
esac
|
2014-09-15 18:30:55 +00:00
|
|
|
sed -e "s/@@ARCH@@/${tlarch}-linux/; s/@@VERSION@@/${version}/" \
|
2014-09-15 16:43:04 +00:00
|
|
|
${FILESDIR}/texlive.sh >${DESTDIR}/etc/profile.d/texlive.sh
|
2014-04-30 09:20:25 +00:00
|
|
|
}
|