diff options
Diffstat (limited to 'libre/texlive-bin/PKGBUILD')
-rw-r--r-- | libre/texlive-bin/PKGBUILD | 68 |
1 files changed, 45 insertions, 23 deletions
diff --git a/libre/texlive-bin/PKGBUILD b/libre/texlive-bin/PKGBUILD index 7ca82ffa0..984a43bdc 100644 --- a/libre/texlive-bin/PKGBUILD +++ b/libre/texlive-bin/PKGBUILD @@ -1,38 +1,36 @@ -# $Id: PKGBUILD 267050 2016-05-06 20:41:10Z arojas $ +# $Id: PKGBUILD 272795 2016-08-01 23:01:50Z remy $ # Maintainer (Arch): Rémy Oudompheng <remy@archlinux.org> # Contributor (Arch): francois <francois.archlinux.org> # Maintainer: Michał Masłowski <mtjm@mtjm.eu> # Contributor: André Silva <emulatorman@parabola.nu> pkgname=texlive-bin -pkgver=2015.37497 -pkgrel=12.parabola1 +pkgver=2016.41290 +pkgrel=4.parabola1 license=('GPL') arch=('i686' 'x86_64' 'armv7h') -makedepends=('cairo' 'pixman' 'graphite' 't1lib' 'gd' 'poppler=0.42.0' +makedepends=('cairo' 'pixman' 'graphite' 't1lib' 'gd' 'poppler=0.46.0' 'libsigsegv' 'zziplib' 'libpng' 'libjpeg' 'freetype2' 'icu=57.1' 'harfbuzz' 'harfbuzz-icu' 'gmp' 'mpfr' 'potrace' 'libpaper' 'perl' 'clisp' 'ffcall') url='http://tug.org/texlive/' source=('fix-fontforge-encoding.patch' "http://mirrors.kernel.org/archlinux/other/texlive/texlive-bin-source-${pkgver}.tar.xz" + "mktexlsr.hook" + "mktexlsr.script" + "texlive-updmap.hook" + "texlive-updmap.script" ) md5sums=('bfb9716aa00c86c08cd31e5b32edeb98' - '20be644511704910151560a4d99f6995') - -prepare() { - cd source - true -} + '7303361f2d441eb5c962a996fd77e8fa' + '7bc9cef52d3b0c15d2364b7d8658faa6' + 'b8005a998186d3846df357ef0f4b4560' + 'c18cbbd000aac60813b1695aa058964f' + '06034157badeeefe9982d7b29e7f5b51') build() { cd "$srcdir" - if [ "${CARCH}" != "i686" ]; then - export CFLAGS="${CFLAGS} -fPIC" - export CXXFLAGS="${CXXFLAGS} -fPIC" - fi - # this patch removes spurious error message with locale "xx_YY.utf8" #patch -Np0 -i fix-fontforge-encoding.patch # t4ht expects to be un /usr/share/texmf/bin/t4ht (FS#27251) @@ -99,7 +97,7 @@ build() { package() { pkgdesc="TeX Live binaries, without biber binaries (Parabola rebranded)" - depends=('cairo' 'pixman' 'graphite' 't1lib' 'gd' 'poppler=0.42.0' + depends=('cairo' 'pixman' 'graphite' 't1lib' 'gd' 'poppler=0.46.0' 'libsigsegv' 'zziplib' 'libpng' 'libjpeg' 'freetype2' 'icu=57.1' 'harfbuzz' 'harfbuzz-icu' 'gmp' 'mpfr' 'potrace' 'libpaper' 'libsynctex') @@ -125,7 +123,6 @@ package() { make DESTDIR="${pkgdir}" texmf="$pkgdir"/usr/share/texmf install rm -rf "${pkgdir}"/usr/{texmf,share/texmf-dist} - ## symlink engines by hand. texlinks has moved to texlive-core... mkdir -p ${pkgdir}/usr/bin ln -s eptex ${pkgdir}/usr/bin/platex @@ -133,7 +130,6 @@ package() { ln -s luatex ${pkgdir}/usr/bin/dvilualatex ln -s luatex ${pkgdir}/usr/bin/dviluatex ln -s luatex ${pkgdir}/usr/bin/lualatex - ln -s luatex ${pkgdir}/usr/bin/lualollipop ln -s pdftex ${pkgdir}/usr/bin/amstex ln -s pdftex ${pkgdir}/usr/bin/cslatex ln -s pdftex ${pkgdir}/usr/bin/csplain @@ -141,7 +137,7 @@ package() { ln -s pdftex ${pkgdir}/usr/bin/etex ln -s pdftex ${pkgdir}/usr/bin/jadetex ln -s pdftex ${pkgdir}/usr/bin/latex - ln -s pdftex ${pkgdir}/usr/bin/lollipop + ln -s tex ${pkgdir}/usr/bin/lollipop ln -s pdftex ${pkgdir}/usr/bin/mex ln -s pdftex ${pkgdir}/usr/bin/mllatex ln -s pdftex ${pkgdir}/usr/bin/mltex @@ -156,7 +152,12 @@ package() { ln -s pdftex ${pkgdir}/usr/bin/utf8mex ln -s pdftex ${pkgdir}/usr/bin/xmltex ln -s xetex ${pkgdir}/usr/bin/xelatex - ln -s xetex ${pkgdir}/usr/bin/xelollipop + + ## install pacman hooks + install -D -m644 ${srcdir}/mktexlsr.hook "$pkgdir/usr/share/libalpm/hooks/mktexlsr.hook" + install -D -m644 ${srcdir}/texlive-updmap.hook "$pkgdir/usr/share/libalpm/hooks/texlive-updmap.hook" + install -D -m755 ${srcdir}/mktexlsr.script "$pkgdir/usr/share/libalpm/scripts/mktexlsr" + install -D -m755 ${srcdir}/texlive-updmap.script "$pkgdir/usr/share/libalpm/scripts/texlive-updmap" ############################################################# # remove dangling symlinks @@ -182,6 +183,7 @@ arlatex autoinst bundledoc checkcites +checklistings chkweb cjk-gs-integrate context @@ -223,6 +225,7 @@ ltximg lua2dox_filter luaotfload-tool luatools +make4ht match_parens mf2pt1 mkjobtexmf @@ -237,6 +240,7 @@ pdf270 pdf90 pdfatfi pdfbook +pdfbook2 pdfcrop pdfflip pdfjam @@ -246,6 +250,7 @@ pdfjam-slides6up pdfjoin pdfnup pdfpun +pdfxup pfarrei pkfix pkfix-helper @@ -258,7 +263,9 @@ repstopdf rpdfcrop rungs simpdftex +srcredact sty2dtx +tex4ebook texconfig texconfig-dialog texconfig-sys @@ -285,6 +292,7 @@ xindy " _games_scripts="rubikrotation" _htmlxml_scripts="ht htcontext htlatex htmex httex httexi htxelatex htxetex mk4ht" + _humanities_scripts="diadia" _langcyrillic_scripts="rubibtex rumakeindex" _langextra_scripts="ebong" _langgreek_scripts="mkgrkindex" @@ -297,7 +305,9 @@ kanji-config-updmap-sys _latexextra_scripts=" authorindex exceltex +makedtx makeglossaries +makeglossaries-lite pdfannotextractor perltex ps4pdf @@ -307,14 +317,23 @@ vpe yplan" _music_scripts="lily-glyph-commands lily-image-commands lily-rebuild-pdfs m-tx musixtex musixflx pmx2pdf pmxchords" - _pictures_scripts="cachepic epspdf epspdftk fig4latex getmapdl mathspic mkpic" + _pictures_scripts=" +cachepic +epspdf +epspdftk +fig4latex +getmapdl +mathspic +mkpic +pn2pdf" _pstricks_scripts="pedigree pst2pdf" _science_scripts="pygmentex ulqda" for s in \ ${_bibtexextra_scripts} \ - ${_core_scripts} \ + ${_core_scripts} \ ${_games_scripts} \ - ${_htmlxml_scripts} \ + ${_htmlxml_scripts} \ + ${_humanities_scripts} \ ${_langcyrillic_scripts} \ ${_langextra_scripts} \ ${_langgreek_scripts} \ @@ -331,6 +350,9 @@ m-tx musixtex musixflx pmx2pdf pmxchords" ################################################################### # remove libsynctex + rm -f "$pkgdir"/usr/include/synctex/* rm -f "$pkgdir"/usr/lib/libsynctex.* + rm -f "$pkgdir"/usr/lib/pkgconfig/synctex.pc + rm -f "$pkgdir"/usr/share/man/man*/synctex.* } |