Commit 04b292f2 authored by Ram-Z's avatar Ram-Z

texlive-bin: split libsynctex

parent ece2a723
# Contributions from Arch: https://projects.archlinux.org/svntogit/packages.git/tree/trunk?h=packages/texlive-bin
pkgname='texlive-bin'
pkgname=('texlive-bin' 'libsynctex')
pkgver=2015.37497
pkgrel=5
pkgrel=6
_biber_ver=2.2
pkgdesc="TeX Live binaries"
url='http://tug.org/texlive/'
license=('GPL')
arch=('x86_64')
depends=('cairo' 'pixman' 'graphite' 't1lib' 'gd' 'poppler'
'libsigsegv' 'zziplib' 'libpng' 'libjpeg' 'freetype2' 'clisp' 'ffcall'
'icu' 'harfbuzz' 'harfbuzz-icu' 'gmp' 'mpfr' 'potrace' 'libpaper' 'perl')
optdepends=('ed: for texconfig')
provides=('lcdf-typetools' 'kpathsea' 'xindy' 'pdfjam')
conflicts=('pdfjam')
options=('!strip')
install="texlive.install"
makedepends=('cairo' 'pixman' 'graphite' 't1lib' 'gd' 'poppler'
'libsigsegv' 'zziplib' 'libpng' 'libjpeg' 'freetype2'
'icu' 'harfbuzz' 'harfbuzz-icu' 'gmp' 'mpfr' 'potrace' 'libpaper'
'perl' 'clisp' 'ffcall')
url='http://tug.org/texlive/'
source=("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")
noextract=(biber-linux_x86_64.tar.gz)
......@@ -92,7 +87,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"
makedepends=('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"
#############################################################
### install
......@@ -316,4 +333,7 @@ m-tx musixtex musixflx pmx2pdf pmxchords"
! readlink -e "$pkgdir"/usr/bin/$s && rm "$pkgdir"/usr/bin/$s
done
###################################################################
# rm libsynctex
rm -f "$pkgdir"/usr/lib/libsynctex.*
}
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment