summarylogtreecommitdiffstats
path: root/PKGBUILD
diff options
context:
space:
mode:
authoradityam2010-01-24 15:46:52 -0500
committerAditya Mahajan2016-04-02 13:08:45 -0400
commit6a3c847383154e14abe167fe8f384576b6e59465 (patch)
treea6072045944008bc6f8f66ad6cf089585d08717a /PKGBUILD
parentb03feed3c77912c47eff8155977981bf60f7a00e (diff)
downloadaur-6a3c847383154e14abe167fe8f384576b6e59465.tar.gz
Changed TEXMFCACHE in setuptex
Also fixed a minor problem with soft link to texlive font directory.
Diffstat (limited to 'PKGBUILD')
-rw-r--r--PKGBUILD11
1 files changed, 7 insertions, 4 deletions
diff --git a/PKGBUILD b/PKGBUILD
index 22d9035c1d8..1027e0d12f1 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -1,6 +1,6 @@
# Maintainer: Aditya Mahajan <adityam at umich dot edu>
pkgname=context-minimals-git
-pkgver=20100122
+pkgver=20100124
pkgrel=1
pkgdesc="A standalone ConTeXt distribution"
url="http://www.contextgarden.net"
@@ -54,8 +54,7 @@ build() {
echo "TEXMFOS=${_dest}/texmf-${_platform}" > $srcdir/tex/setuptex
echo "export TEXMFOS" >> $srcdir/tex/setuptex
echo "" >> $srcdir/tex/setuptex
- echo "TEXMFCACHE=\$HOME/texmf-cache:${_dest}/texmf-cache" \
- >> $srcdir/tex/setuptex
+ echo "TEXMFCACHE=\$HOME/texmf-cache" >> $srcdir/tex/setuptex
echo "export TEXMFCACHE" >> $srcdir/tex/setuptex
echo "" >> $srcdir/tex/setuptex
echo "unset TEXINPUTS MPINPUTS MFINPUTS" >> $srcdir/tex/setuptex
@@ -70,7 +69,11 @@ build() {
if [ -d $_texlivefontdir ]
then
mkdir -p $srcdir/tex/texmf-fonts
- ln -s -f $_texlivefontdir $srcdir/tex/texmf-fonts/fonts
+ if [ -L $srcdir/tex/texmf-fonts/fonts ]
+ then
+ rm $srcdir/tex/texmf-fonts/fonts
+ fi
+ ln -s $_texlivefontdir $srcdir/tex/texmf-fonts/fonts
fi