[arch-commits] Commit in texlive-bin/trunk (PKGBUILD)

Bartłomiej Piotrowski bpiotrowski at archlinux.org
Fri Feb 5 09:41:37 UTC 2016


    Date: Friday, February 5, 2016 @ 10:41:36
  Author: bpiotrowski
Revision: 258897

upgpkg: texlive-bin 2015.37497-10

Move libsynctex to split package to slim down Zathura dependencies.

Modified:
  texlive-bin/trunk/PKGBUILD

----------+
 PKGBUILD |   43 +++++++++++++++++++++++++++++++------------
 1 file changed, 31 insertions(+), 12 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2016-02-05 08:25:08 UTC (rev 258896)
+++ PKGBUILD	2016-02-05 09:41:36 UTC (rev 258897)
@@ -2,23 +2,17 @@
 # Maintainer: Rémy Oudompheng <remy at archlinux.org>
 # Contributor: francois <francois.archlinux.org>
 
-pkgname=texlive-bin
+pkgname=('texlive-bin' 'libsynctex')
 pkgver=2015.37497
-pkgrel=9
+pkgrel=10
 _biber_ver=2.2 # for biblatex 3.0 only.
-pkgdesc="TeX Live binaries"
 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' 'xindy' '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"
         "http://downloads.sourceforge.net/project/biblatex-biber/biblatex-biber/${_biber_ver}/binaries/Linux/biber-linux_x86_64.tar.gz"
@@ -111,7 +105,29 @@
    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"
 
    #############################################################
@@ -333,5 +349,8 @@
        ! readlink -e "$pkgdir"/usr/bin/$s && rm "$pkgdir"/usr/bin/$s
    done
    ###################################################################
+
+   # remove libsynctex
+   rm -f "$pkgdir"/usr/lib/libsynctex.*
 }
 



More information about the arch-commits mailing list