texlive2013-bin: xlint.

This commit is contained in:
Christian Neukirchen 2014-11-23 15:22:00 +01:00
parent a8f8a33799
commit 1dfbdd72f2

View file

@ -7,8 +7,8 @@ homepage="http://tug.org/texlive/"
license="GPL-2" license="GPL-2"
short_desc="TeX Live 2013 Binary distribution through tl-install" short_desc="TeX Live 2013 Binary distribution through tl-install"
depends="cairo pixman graphite t1lib gd poppler libsigsegv depends="cairo pixman graphite t1lib gd poppler libsigsegv
zziplib libpng libjpeg-turbo freetype icu harfbuzz wget perl zziplib libpng libjpeg-turbo freetype icu harfbuzz wget perl
ghostscript" ghostscript"
only_for_archs="i686 x86_64" only_for_archs="i686 x86_64"
distfiles="ftp://ftp.tug.org/texlive/historic/${version}/tlnet-final/install-tl-unx.tar.gz" distfiles="ftp://ftp.tug.org/texlive/historic/${version}/tlnet-final/install-tl-unx.tar.gz"
checksum="8b200e78b87899349404bdc58b47241291ba7a74846b816a926b02c2fe20aca7" checksum="8b200e78b87899349404bdc58b47241291ba7a74846b816a926b02c2fe20aca7"
@ -24,34 +24,34 @@ desc_option_full="Install TeXLive using scheme-full"
build_options_default="small" build_options_default="small"
pre_install(){ pre_install(){
_dir="${wrksrc}/install-tl*/tlpkg/installer/xz" _dir="${wrksrc}/install-tl*/tlpkg/installer/xz"
rm ${_dir}/*exe ${_dir}/*bsd ${_dir}/*solaris ${_dir}/*irix rm ${_dir}/*exe ${_dir}/*bsd ${_dir}/*solaris ${_dir}/*irix
rm ${_dir}/*alpha-linux ${_dir}/*darwin ${_dir}/*powerpc-linux rm ${_dir}/*alpha-linux ${_dir}/*darwin ${_dir}/*powerpc-linux
rm ${_dir}/*arm??-linux ${_dir}/*mipsel-linux rm ${_dir}/*arm??-linux ${_dir}/*mipsel-linux
rm -rf ${wrksrc}/install-tl*/tlpkg/installer/wget rm -rf ${wrksrc}/install-tl*/tlpkg/installer/wget
} }
do_install(){ do_install(){
vmkdir opt/texlive${version}-installer vmkdir opt/texlive${version}-installer
vcopy "install-tl-*/*" /opt/texlive${version}-installer vcopy "install-tl-*/*" /opt/texlive${version}-installer
vinstall ${FILESDIR}/void.profile 644 opt/texlive${version}-installer vinstall ${FILESDIR}/void.profile 644 opt/texlive${version}-installer
if [ "$build_options_default" = "basic" ]; then if [ "$build_options_default" = "basic" ]; then
echo "selected_scheme scheme-basic" >> ${DESTDIR}/opt/texlive${version}-installer/void.profile echo "selected_scheme scheme-basic" >> ${DESTDIR}/opt/texlive${version}-installer/void.profile
elif [ "$build_options_default" = "small" ]; then elif [ "$build_options_default" = "small" ]; then
echo "selected_scheme scheme-small" >> ${DESTDIR}/opt/texlive${version}-installer/void.profile echo "selected_scheme scheme-small" >> ${DESTDIR}/opt/texlive${version}-installer/void.profile
elif [ "$build_options_default" = "medium" ];then elif [ "$build_options_default" = "medium" ];then
echo "selected_scheme scheme-medium" >> ${DESTDIR}/opt/texlive${version}-installer/void.profile echo "selected_scheme scheme-medium" >> ${DESTDIR}/opt/texlive${version}-installer/void.profile
elif [ "$build_options_default" = "full" ];then elif [ "$build_options_default" = "full" ];then
echo "selected_scheme scheme-full" >> ${DESTDIR}/opt/texlive${version}-installer/void.profile echo "selected_scheme scheme-full" >> ${DESTDIR}/opt/texlive${version}-installer/void.profile
fi fi
vlicense ${DESTDIR}/opt/texlive${version}-installer/LICENSE.CTAN vlicense ${DESTDIR}/opt/texlive${version}-installer/LICENSE.CTAN
vlicense ${DESTDIR}/opt/texlive${version}-installer/LICENSE.TL vlicense ${DESTDIR}/opt/texlive${version}-installer/LICENSE.TL
case "$XBPS_TARGET_MACHINE" in case "$XBPS_TARGET_MACHINE" in
i686) i686)
rm ${DESTDIR}/opt/texlive${version}-installer/tlpkg/installer/xz/xzdec.x86_64-linux rm ${DESTDIR}/opt/texlive${version}-installer/tlpkg/installer/xz/xzdec.x86_64-linux
;; ;;
x86_64) x86_64)
rm ${DESTDIR}/opt/texlive${version}-installer/tlpkg/installer/xz/xzdec.i386-linux rm ${DESTDIR}/opt/texlive${version}-installer/tlpkg/installer/xz/xzdec.i386-linux
;; ;;
esac esac
} }