diff --git a/srcpkgs/texlive-bin/INSTALL b/srcpkgs/texlive-bin/INSTALL deleted file mode 100644 index 776dcbbd93..0000000000 --- a/srcpkgs/texlive-bin/INSTALL +++ /dev/null @@ -1,11 +0,0 @@ -# -# This script will advise the user of the needed steps to -# configure TeXLive and to have TeXLive included in PATH -# -case "${ACTION}" in -post) - cd /opt/texlive-installer - ./install-tl -profile void.profile - ;; -esac - diff --git a/srcpkgs/texlive-bin/REMOVE b/srcpkgs/texlive-bin/REMOVE deleted file mode 100644 index d4b5cd1845..0000000000 --- a/srcpkgs/texlive-bin/REMOVE +++ /dev/null @@ -1,7 +0,0 @@ -# This script will clear the TeXLive directory -# -case "${ACTION}" in -post) - rm -rf /opt/texlive/2013 - ;; -esac \ No newline at end of file diff --git a/srcpkgs/texlive-bin/files/texlive.sh b/srcpkgs/texlive-bin/files/texlive.sh index 99d52f4f6b..c868d50fe1 100644 --- a/srcpkgs/texlive-bin/files/texlive.sh +++ b/srcpkgs/texlive-bin/files/texlive.sh @@ -1,2 +1,2 @@ #location of the TeXLive binaries -export PATH=$PATH:/opt/texlive/2013/bin/@@ARCH@@ +export PATH=$PATH:/opt/texlive/@@VERSION@@/bin/@@ARCH@@ diff --git a/srcpkgs/texlive-bin/files/void.profile b/srcpkgs/texlive-bin/files/void.profile deleted file mode 100644 index a18114ba41..0000000000 --- a/srcpkgs/texlive-bin/files/void.profile +++ /dev/null @@ -1,8 +0,0 @@ -# texlive.profile written for voidlinux -TEXDIR /opt/texlive/2013 -TEXMFCONFIG ~/.texlive2013/texmf-config -TEXMFHOME ~/texmf -TEXMFLOCAL /opt/texlive/texmf-local -TEXMFSYSCONFIG /opt/texlive/2013/texmf-config -TEXMFSYSVAR /opt/texlive/2013/texmf-var -TEXMFVAR ~/.texlive2013/texmf-var diff --git a/srcpkgs/texlive-bin/template b/srcpkgs/texlive-bin/template index b1eb1249ef..9cb61037c2 100644 --- a/srcpkgs/texlive-bin/template +++ b/srcpkgs/texlive-bin/template @@ -1,67 +1,26 @@ # Template file for 'texlive-bin' pkgname=texlive-bin -version=2013 -revision=3 -maintainer="Carlo Dormeletti " +version=2014 +revision=1 +maintainer="Christian Neukirchen " homepage="http://tug.org/texlive/" license="GPL-2" -short_desc="Texlive Binary distribution through tl-install" +short_desc="TeX Live Binary distribution through tl-install (newest version)" provides="texlive-${version}_${revision}" -depends="cairo pixman graphite t1lib gd poppler libsigsegv - zziplib libpng libjpeg-turbo freetype icu harfbuzz wget perl - ghostscript" -only_for_archs="i686 x86_64" -distfiles="http://mirror.ctan.org/systems/texlive/tlnet/install-tl-unx.tar.gz" -checksum="8b200e78b87899349404bdc58b47241291ba7a74846b816a926b02c2fe20aca7" -create_wrksrc=yes - -# hash mismatch -broken=1 - -# Package build options -build_options="basic small medium full" -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" - -build_options_default="small" - -pre_install(){ - _dir="${wrksrc}/install-tl*/tlpkg/installer/xz" - rm ${_dir}/*exe ${_dir}/*bsd ${_dir}/*solaris ${_dir}/*irix - rm ${_dir}/*alpha-linux ${_dir}/*darwin ${_dir}/*powerpc-linux - rm ${_dir}/*arm??-linux ${_dir}/*mipsel-linux - rm -rf ${wrksrc}/install-tl*/tlpkg/installer/wget -} +depends="texlive2014-bin" do_install(){ - vmkdir opt/texlive-installer - vcopy "install-tl-*/*" /opt/texlive-installer - vinstall ${FILESDIR}/void.profile 644 opt/texlive-installer - if [ "$build_options_default" = "basic" ]; then - echo "selected_scheme scheme-basic" >> ${DESTDIR}/opt/texlive-installer/void.profile - elif [ "$build_options_default" = "small" ]; then - echo "selected_scheme scheme-small" >> ${DESTDIR}/opt/texlive-installer/void.profile - elif [ "$build_options_default" = "medium" ];then - echo "selected_scheme scheme-medium" >> ${DESTDIR}/opt/texlive-installer/void.profile - elif [ "$build_options_default" = "full" ];then - echo "selected_scheme scheme-full" >> ${DESTDIR}/opt/texlive-installer/void.profile - fi - vinstall ${DESTDIR}/opt/texlive-installer/LICENSE.CTAN 644 usr/share/licenses/texlive - vinstall ${DESTDIR}/opt/texlive-installer/LICENSE.TL 644 usr/share/licenses/texlive vmkdir etc/profile.d - # For system environment vars and desktop extra shortcut case "$XBPS_TARGET_MACHINE" in i686) - sed -e 's/@@ARCH@@/i386-linux/' ${FILESDIR}/texlive.sh \ + sed -e "s/@@ARCH@@/i386-linux/;s/@@VERSION@@/${version}/" \ + ${FILESDIR}/texlive.sh \ > ${DESTDIR}/etc/profile.d/texlive.sh - rm ${DESTDIR}/opt/texlive-installer/tlpkg/installer/xz/xzdec.x86_64-linux ;; x86_64) - sed -e 's/@@ARCH@@/x86_64-linux/' ${FILESDIR}/texlive.sh \ + sed -e "s/@@ARCH@@/x86_64-linux/;s/@@VERSION@@/${version}/" \ + ${FILESDIR}/texlive.sh \ > ${DESTDIR}/etc/profile.d/texlive.sh - rm ${DESTDIR}/opt/texlive-installer/tlpkg/installer/xz/xzdec.i386-linux ;; esac }