void-packages/srcpkgs/texlive2014-bin/template

45 lines
1.6 KiB
Plaintext
Raw Normal View History

2014-07-08 16:18:46 +02:00
# Template file for 'texlive-bin'
pkgname=texlive2014-bin
version=2014
revision=4
2014-07-08 16:18:46 +02:00
maintainer="Christian Neukirchen <chneukirchen@gmail.com>"
homepage="http://tug.org/texlive/"
license="GPL-2"
short_desc="TeX Live Binary distribution through tl-install"
depends="cairo pixman graphite t1lib gd poppler libsigsegv
zziplib libpng libjpeg-turbo freetype icu harfbuzz wget perl
ghostscript xz"
2014-07-08 16:18:46 +02:00
distfiles="http://mirror.ctan.org/systems/texlive/tlnet/install-tl-unx.tar.gz"
2014-09-15 18:15:55 +02:00
checksum=d874cc26ae8cbdbb42fd175ee3a2c2bc6e850d96eb7cc8c283b2caa250ad15ad
2014-07-08 16:18:46 +02:00
create_wrksrc=yes
# Package build options
build_options="basic small medium full"
build_options_default="small"
2014-07-08 16:18:46 +02:00
desc_option_basic="Install TeXLive using scheme-basic"
desc_option_small="Install TeXLive using scheme-small"
desc_option_medium="Install TeXLive using scheme-medium"
desc_option_full="Install TeXLive using scheme-full"
pre_install(){
rm -rf ${wrksrc}/install-tl*/tlpkg/installer/xz \
${wrksrc}/install-tl*/tlpkg/installer/wget
2014-07-08 16:18:46 +02:00
}
do_install(){
vmkdir opt/texlive${version}-installer
vcopy "install-tl-*/*" /opt/texlive${version}-installer
vinstall ${FILESDIR}/void.profile 644 opt/texlive${version}-installer
if [ "$build_option_basic" ]; then
echo "selected_scheme scheme-basic"
elif [ "$build_option_small" ]; then
echo "selected_scheme scheme-small"
elif [ "$build_option_medium" = "medium" ];then
echo "selected_scheme scheme-medium"
elif [ "$build_option_full" ];then
echo "selected_scheme scheme-full"
fi >>${DESTDIR}/opt/texlive${version}-installer/void.profile
vlicense ${DESTDIR}/opt/texlive${version}-installer/LICENSE.CTAN
vlicense ${DESTDIR}/opt/texlive${version}-installer/LICENSE.TL
2014-07-08 16:18:46 +02:00
}