diff options
author | Isaac David <isacdaavid@isacdaavid.info> | 2016-08-30 18:51:17 -0500 |
---|---|---|
committer | Isaac David <isacdaavid@isacdaavid.info> | 2016-08-30 18:51:17 -0500 |
commit | bbec0f0272a2a217f43b704bbf529b360c89075e (patch) | |
tree | 46bf818abba4bbf7ef2d5a45af4739b34c138cd5 /libre/texlive-bin/PKGBUILD | |
parent | faf5216878b7a33e6a4037df8bf6d511f91668f6 (diff) |
libre/texlive-bin: fix armv7h support (remove xindy for armv7h)
Diffstat (limited to 'libre/texlive-bin/PKGBUILD')
-rw-r--r-- | libre/texlive-bin/PKGBUILD | 18 |
1 files changed, 16 insertions, 2 deletions
diff --git a/libre/texlive-bin/PKGBUILD b/libre/texlive-bin/PKGBUILD index 308f89e5d..1a33273ec 100644 --- a/libre/texlive-bin/PKGBUILD +++ b/libre/texlive-bin/PKGBUILD @@ -3,6 +3,7 @@ # Contributor (Arch): francois <francois.archlinux.org> # Maintainer: Michał Masłowski <mtjm@mtjm.eu> # Contributor: André Silva <emulatorman@parabola.nu> +# Contributor: Isaac David <isacdaavid(at)isacdaavid!info> pkgname=texlive-bin pkgver=2016.41290 @@ -29,6 +30,12 @@ md5sums=('7303361f2d441eb5c962a996fd77e8fa' build() { cd "$srcdir" + if [ "${CARCH}" = "armv7h" ]; then + local config_xindy="--disable-xindy" + else + 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 ############################################################# @@ -81,7 +88,7 @@ build() { --disable-aleph \ --enable-luatex \ --with-clisp-runtime=default \ - --enable-xindy --disable-xindy-rules --disable-xindy-docs + --disable-xindy-rules --disable-xindy-docs "$config_xindy" ############################################################# ### make echo "-------------------------------------------------------" @@ -96,7 +103,9 @@ package() { 'libsigsegv' 'zziplib' 'libpng' 'libjpeg' 'freetype2' 'icu=57.1' 'harfbuzz' 'harfbuzz-icu' 'gmp' 'mpfr' 'potrace' 'libpaper' 'libsynctex') - provides=('lcdf-typetools' 'kpathsea' 'xindy') + provides=('lcdf-typetools' 'kpathsea') + provides_i686=('xindy') + provides_x86_64=("${provides_i686[@]}") conflicts=('texlive-bin-libre' 'texlive-bin-parabola') replaces=('texlive-bin-libre' 'texlive-bin-parabola') optdepends=('ed: for texconfig' @@ -286,6 +295,11 @@ vpl2ovp vpl2vpl xindy " + + if [ "$CARCH" = "armv7h" ]; then + _core_scripts="$(echo "$_core_scripts" | sed '/xindy$/d')" + fi + _games_scripts="rubikrotation" _htmlxml_scripts="ht htcontext htlatex htmex httex httexi htxelatex htxetex mk4ht" _humanities_scripts="diadia" |