From 9f48e29a1f0c4891d17487fc6f2cd30ac02eaa12 Mon Sep 17 00:00:00 2001 From: Kevin Mihelich Date: Fri, 5 Feb 2016 13:55:22 +0000 Subject: [PATCH] extra/texlive-bin to 2015.37497-10 --- extra/texlive-bin/PKGBUILD | 48 +++++++++++++++++++++++++------------- 1 file changed, 32 insertions(+), 16 deletions(-) diff --git a/extra/texlive-bin/PKGBUILD b/extra/texlive-bin/PKGBUILD index f7cd6e0d9..8cfd51830 100644 --- a/extra/texlive-bin/PKGBUILD +++ b/extra/texlive-bin/PKGBUILD @@ -7,26 +7,20 @@ # --disable-xindy, remove xindy stuff, segfaults with clisp # --disable-cxx-runtime-hack -pkgname=texlive-bin +pkgname=('texlive-bin' 'libsynctex') pkgver=2015.37497 -pkgrel=9 -pkgdesc="TeX Live binaries" +pkgrel=10 license=('GPL') arch=('i686' 'x86_64') -depends=('cairo' 'pixman' 'graphite' 't1lib' 'gd' 'poppler' +makedepends=('cairo' 'pixman' 'graphite' 't1lib' 'gd' 'poppler' 'libsigsegv' 'zziplib' 'libpng' 'libjpeg' 'freetype2' - 'icu' 'harfbuzz' 'harfbuzz-icu' 'gmp' 'mpfr' 'potrace' 'libpaper') -makedepends=('perl' 'clisp' 'ffcall') -optdepends=('ed: for texconfig') -provides=('lcdf-typetools' 'kpathsea' 'pdfjam') -conflicts=('pdfjam') -options=('!strip') + 'icu' 'harfbuzz' 'harfbuzz-icu' 'gmp' 'mpfr' 'potrace' 'libpaper' + 'perl' 'clisp' 'ffcall') url='http://tug.org/texlive/' -install="texlive.install" source=('fix-fontforge-encoding.patch' "http://mirrors.kernel.org/archlinux/other/texlive/texlive-bin-source-${pkgver}.tar.xz") md5sums=('bfb9716aa00c86c08cd31e5b32edeb98' - '20be644511704910151560a4d99f6995') + '0a8ffd5c0002a080a4202057b1f106c6') prepare() { cd source @@ -105,7 +99,29 @@ build() { make } -package() { +package_libsynctex() { + pkgdesc='Library for synchronization between TeX files and resulting file' + depends=('glibc' 'zlib') + + install -d "$pkgdir"/usr/lib + + for lib in "$srcdir"/source/Work/texk/web2c/.libs/libsynctex.so*; do + cp -P $lib "$pkgdir"/usr/lib/ + done +} + +package_texlive-bin() { + pkgdesc="TeX Live binaries" + depends=('cairo' 'pixman' 'graphite' 't1lib' 'gd' 'poppler' + 'libsigsegv' 'zziplib' 'libpng' 'libjpeg' 'freetype2' + 'icu' 'harfbuzz' 'harfbuzz-icu' 'gmp' 'mpfr' 'potrace' 'libpaper' + 'libsynctex') + provides=('lcdf-typetools' 'kpathsea' 'xindy' 'pdfjam') + conflicts=('pdfjam') + optdepends=('ed: for texconfig') + install="texlive.install" + options=('!strip') + cd "$srcdir" ############################################################# @@ -322,7 +338,7 @@ m-tx musixtex musixflx pmx2pdf pmxchords" ! readlink -e "$pkgdir"/usr/bin/$s && rm "$pkgdir"/usr/bin/$s done ################################################################### -} -md5sums=('bfb9716aa00c86c08cd31e5b32edeb98' - '0a8ffd5c0002a080a4202057b1f106c6') + # remove libsynctex + rm -f "$pkgdir"/usr/lib/libsynctex.* +}