diff options
Diffstat (limited to 'libre/texlive-bin/PKGBUILD')
-rw-r--r-- | libre/texlive-bin/PKGBUILD | 77 |
1 files changed, 44 insertions, 33 deletions
diff --git a/libre/texlive-bin/PKGBUILD b/libre/texlive-bin/PKGBUILD index d83c1e4fa..01e26a0a1 100644 --- a/libre/texlive-bin/PKGBUILD +++ b/libre/texlive-bin/PKGBUILD @@ -1,4 +1,3 @@ -# $Id: PKGBUILD 283854 2016-12-16 18:03:22Z foutrelis $ # Maintainer (Arch): Rémy Oudompheng <remy@archlinux.org> # Contributor (Arch): francois <francois.archlinux.org> # Contributor (Hyperbola): André Silva <emulatorman@hyperbola.info> @@ -6,8 +5,8 @@ # Contributor: Isaac David <isacdaavid(at)isacdaavid!info> pkgname=texlive-bin -pkgver=2016.41290 -pkgrel=12.parabola4 +pkgver=2017.44590 +pkgrel=2.parabola1 license=('GPL') arch=('i686' 'x86_64' 'armv7h') makedepends=('cairo' 'pixman' 'graphite' 't1lib' 'gd' 'poppler=0.57.0' @@ -15,20 +14,23 @@ makedepends=('cairo' 'pixman' 'graphite' 't1lib' 'gd' 'poppler=0.57.0' 'icu=59.1' 'harfbuzz' 'harfbuzz-icu' 'gmp' 'mpfr' 'potrace' 'libpaper' 'perl' 'clisp' 'ffcall') url='http://tug.org/texlive/' -source=("https://sources.archlinux.org/other/texlive/texlive-bin-source-${pkgver}.tar.xz" - "mktexlsr.hook" - "mktexlsr.script" - "texlive-updmap.hook" - "texlive-updmap.script" - "texlive-fmtutil.hook" - "texlive-fmtutil.script") -md5sums=('7303361f2d441eb5c962a996fd77e8fa' - 'a4e54f0cb05f401728b2b230fd63b300' - '2bbbef810687f4b2804a4b8cb91ce02f' - '0ecdbd88cae12dbeb5d0d63127c5fc38' - 'c64d77b5111a26b9995263b49df4937c' - '582af708588fd09eeaa0f08111e60091' - '3f05fa08f84b94fcb3a76be271116a95') +source=("http://mirrors.kernel.org/archlinux/other/texlive/texlive-bin-source-${pkgver}.tar.xz" + "luatex-gcc7.patch") +sha256sums=('4645b4d55fc500ba9be7156a6a330afb44fbf7fda40dfd73fe9cb16d207f2038' + 'ee97f3e07e235dee4ad6d0c3e85c2260914c965e94d5ffbf481fa506df5f01ec') + +prepare() { + cd "$srcdir/source" + + # t4ht expects to be un /usr/share/texmf/bin/t4ht (FS#27251) + sed -i s/SELFAUTOPARENT/TEXMFROOT/ texk/tex4htk/t4ht.c + + ## prevent compiling Xdvi with libXp + sed -i~ 's|-lXp ||' texk/xdvik/configure + + # Luatex crashes when compiled with GCC7.1 + patch -Np0 -i "${srcdir}/luatex-gcc7.patch" +} build() { cd "$srcdir" @@ -39,14 +41,10 @@ build() { local config_xindy="--enable-xindy" fi - # t4ht expects to be un /usr/share/texmf/bin/t4ht (FS#27251) - sed -i s/SELFAUTOPARENT/TEXMFROOT/ source/texk/tex4htk/t4ht.c ############################################################# ### configure cd source - ## prevent compiling Xdvi with libXp - sed -i~ 's|-lXp ||' texk/xdvik/configure - test ! -d Work && mkdir Work + mkdir -p Work cd Work echo "--> Initial configuration..." # we use temporary prefix to avoid messing the existing @@ -160,19 +158,13 @@ package() { ln -s pdftex ${pkgdir}/usr/bin/xmltex ln -s xetex ${pkgdir}/usr/bin/xelatex - ## 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 -m644 ${srcdir}/texlive-fmtutil.hook "$pkgdir/usr/share/libalpm/hooks/texlive-fmtutil.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" - install -D -m755 ${srcdir}/texlive-fmtutil.script "$pkgdir/usr/share/libalpm/scripts/texlive-fmtutil" - ############################################################# # remove dangling symlinks _bibtexextra_scripts=" -bibexport +bbl2bib bibdoiadd +bibexport +bibmradd bibzbladd listbib ltx2crossrefxml @@ -212,15 +204,26 @@ epstopdf findhyph fmtutil fmtutil-sys +fmtutil-user fontinst fragmaster +ht +htcontext +htlatex +htmex +httex +httexi +htxelatex +htxetex installfont-tl kpsepath kpsetool kpsewhere kpsexpand latex-git-log +latex-papersize latex2man +latex2nemeth latexdiff latexdiff-vc latexfileversion @@ -234,9 +237,11 @@ ltximg lua2dox_filter luaotfload-tool luatools +lwarpmk make4ht match_parens mf2pt1 +mk4ht mkjobtexmf mkt1font mktexfmt @@ -257,6 +262,7 @@ pdfjam-pocketmod pdfjam-slides3up pdfjam-slides6up pdfjoin +pdflatexpicscale pdfnup pdfpun pdfxup @@ -291,12 +297,17 @@ texlinks texliveonfly texloganalyser texmfstart +texosquery +texosquery-jre5 +texosquery-jre8 thumbpdf typeoutfileinfo updmap updmap-sys +updmap-user vpl2ovp vpl2vpl +xhlatex xindy " @@ -305,7 +316,6 @@ xindy fi _games_scripts="rubikrotation" - _htmlxml_scripts="ht htcontext htlatex htmex httex httexi htxelatex htxetex mk4ht" _humanities_scripts="diadia" _langcyrillic_scripts="rubibtex rumakeindex" _langextra_scripts="ebong" @@ -314,6 +324,7 @@ xindy kanji-fontmap-creator kanji-config-updmap kanji-config-updmap-sys +kanji-config-updmap-user " _langkorean_scripts="jamo-normalize komkindex ttf2kotexfont" _latexextra_scripts=" @@ -330,7 +341,7 @@ svn-multi vpe yplan" _music_scripts="lily-glyph-commands lily-image-commands lily-rebuild-pdfs -m-tx musixtex musixflx pmx2pdf pmxchords" +m-tx musixtex musixflx pmxchords" _pictures_scripts=" cachepic epspdf |