void-packages/srcpkgs/texlive-bin/template

27 lines
768 B
Plaintext
Raw Normal View History

# Template file for 'texlive-bin'
pkgname=texlive-bin
2014-07-08 16:19:27 +02:00
version=2014
revision=1
maintainer="Christian Neukirchen <chneukirchen@gmail.com>"
homepage="http://tug.org/texlive/"
license="GPL-2"
2014-07-08 16:19:27 +02:00
short_desc="TeX Live Binary distribution through tl-install (newest version)"
provides="texlive-${version}_${revision}"
2014-07-08 16:19:27 +02:00
depends="texlive2014-bin"
do_install(){
vmkdir etc/profile.d
case "$XBPS_TARGET_MACHINE" in
i686)
2014-07-08 16:19:27 +02:00
sed -e "s/@@ARCH@@/i386-linux/;s/@@VERSION@@/${version}/" \
${FILESDIR}/texlive.sh \
> ${DESTDIR}/etc/profile.d/texlive.sh
;;
x86_64)
2014-07-08 16:19:27 +02:00
sed -e "s/@@ARCH@@/x86_64-linux/;s/@@VERSION@@/${version}/" \
${FILESDIR}/texlive.sh \
> ${DESTDIR}/etc/profile.d/texlive.sh
;;
esac
}