extra/texlive-bin to 2016.41290-5

This commit is contained in:
Kevin Mihelich 2016-08-06 19:24:55 +00:00
parent 49ff2e77a0
commit 27a0002116
3 changed files with 6 additions and 10 deletions

View file

@ -10,7 +10,7 @@
pkgname=('texlive-bin' 'libsynctex')
pkgver=2016.41290
pkgrel=4
pkgrel=5
license=('GPL')
arch=('i686' 'x86_64')
makedepends=('cairo' 'pixman' 'graphite' 't1lib' 'gd' 'poppler'
@ -28,9 +28,9 @@ source=('fix-fontforge-encoding.patch'
md5sums=('bfb9716aa00c86c08cd31e5b32edeb98'
'7303361f2d441eb5c962a996fd77e8fa'
'7bc9cef52d3b0c15d2364b7d8658faa6'
'b8005a998186d3846df357ef0f4b4560'
'2bbbef810687f4b2804a4b8cb91ce02f'
'c18cbbd000aac60813b1695aa058964f'
'06034157badeeefe9982d7b29e7f5b51')
'c64d77b5111a26b9995263b49df4937c')
build() {
cd "$srcdir"
@ -117,7 +117,8 @@ package_texlive-bin() {
'libsynctex')
provides=('lcdf-typetools' 'kpathsea' 'xindy' 'pdfjam')
conflicts=('pdfjam')
optdepends=('ed: for texconfig')
optdepends=('ed: for texconfig'
'biber: for bibliography processing')
install="texlive.install"
options=('!strip')

View file

@ -1,13 +1,12 @@
#!/bin/bash
/usr/bin/mktexlsr
echo ">>> Updating LuaTeX filename database..."
(cd /etc/texmf && /usr/bin/mtxrun --generate >/dev/null)
# We need to remove directory "." from luatex cache to avoid absurd
# behaviour.
for item in /var/lib/texmf/luatex-cache/context/*/trees/*.lua; do
if grep -F '["root"]="."' "$item" >/dev/null; then
rm -vf "$item" "${item%.lua}.luc"
rm -f "$item" "${item%.lua}.luc"
fi
done

View file

@ -3,15 +3,11 @@
UPDMAP="etc/texmf/web2c/updmap.cfg"
UPDMAPLOCAL="etc/texmf/web2c/updmap-local.cfg"
echo ">>> texlive: regenerating updmap.cfg (custom additions should go"
echo " into /etc/texmf/web2c/updmap-local.cfg"
cp usr/share/texmf-dist/web2c/updmap-hdr.cfg $UPDMAP
cat var/lib/texmf/arch/installedpkgs/*.maps >> $UPDMAP
if [[ -f "$UPDMAPLOCAL" ]]; then
cat "$UPDMAPLOCAL" >> $UPDMAP
fi
echo ">>> texlive: updating the fontmap files with updmap..."
/usr/bin/updmap-sys --quiet --nohash
echo " done."