void-packages/srcpkgs/texlive-bin/template
2015-07-05 16:33:27 +02:00

21 lines
612 B
Bash

# Template file for 'texlive-bin'
pkgname=texlive-bin
version=2015
revision=1
maintainer="Christian Neukirchen <chneukirchen@gmail.com>"
homepage="http://tug.org/texlive/"
license="GPL-2"
short_desc="TeX Live Binary distribution through tl-install (newest version)"
provides="texlive-${version}_${revision}"
depends="texlive2015-bin"
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}-linux/; s/@@VERSION@@/${version}/" \
${FILESDIR}/texlive.sh >${DESTDIR}/etc/profile.d/texlive.sh
}