diff --git a/extra/texlive-bin/PKGBUILD b/extra/texlive-bin/PKGBUILD index c17ab5ddf..74175c1f4 100644 --- a/extra/texlive-bin/PKGBUILD +++ b/extra/texlive-bin/PKGBUILD @@ -9,11 +9,11 @@ pkgname=texlive-bin pkgver=2012.0 -pkgrel=5 +pkgrel=7 pkgdesc="TeX Live binaries" license=('GPL') arch=('i686' 'x86_64') -depends=('t1lib' 'gd' 'poppler' 'libsigsegv' 'zziplib' 'libpng' 'libjpeg' 'freetype2') +depends=('t1lib' 'gd' 'poppler>=0.22.0' 'libsigsegv' 'zziplib' 'libpng' 'libjpeg' 'freetype2') makedepends=('perl' 'ffcall') optdepends=('ed: for texconfig') provides=('lcdf-typetools' 'kpathsea' 'pdfjam') @@ -51,12 +51,13 @@ md5sums=('220a4f4cc0d915bf8fcbcb553dcee1ae' '5190f3295eb9a604c5f17f5bd607299b') build() { + cd "$srcdir" + if [ "${CARCH}" = "armv6h" -o "${CARCH}" = "armv7h" ]; then export CFLAGS="${CFLAGS} -fPIC" export CXXFLAGS="${CXXFLAGS} -fPIC" fi - cd "$srcdir" # this patch removes spurious error message with locale "xx_YY.utf8" patch -Np0 -i fix-fontforge-encoding.patch # fix build with poppler >= 0.20