summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authoradityam2010-01-24 15:46:52 -0500
committerAditya Mahajan2016-04-02 13:08:45 -0400
commit6a3c847383154e14abe167fe8f384576b6e59465 (patch)
treea6072045944008bc6f8f66ad6cf089585d08717a
parentb03feed3c77912c47eff8155977981bf60f7a00e (diff)
downloadaur-6a3c847383154e14abe167fe8f384576b6e59465.tar.gz
Changed TEXMFCACHE in setuptex
Also fixed a minor problem with soft link to texlive font directory.
-rw-r--r--PKGBUILD11
-rw-r--r--README36
2 files changed, 7 insertions, 40 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
diff --git a/README b/README
deleted file mode 100644
index 73754b4dd10..00000000000
--- a/README
+++ /dev/null
@@ -1,36 +0,0 @@
-PKGBUILD for context-minimals
-=============================
-
-The ConTeXt Minimal <http://wiki.contextgarden.net/ConTeXt_Minimals> is
-a complete, up-to-date ConTeXt distribution which can be upgraded
-efficiently. It can be used to install either the stable or the beta
-version of ConTeXt. It can also be used in parallel with existing TeX
-installtions such as MikTeX, TeXLive, or older minimal installation. It
-is aimed towards ConTeXt users, so it does not include LaTeX specific
-packages and binaries.
-
-This PKGBUILD installs the ConTeXt related files at
-
- /opt/context-minimals
-
-To use the minimals distribution, you need to run
-
- source /opt/context-minimals/setuptex
-
-in the shell from which you want to invoke context. After sourcing
-setuptex, you can run ConTeXt mkII using
-
- texexec filename
-
-To run mkIV for the first time, you need to run
-
- luatools --generate
-
-a normal user (*and not as root*). You need to rerun this command as a
-normal user each time you upgrade.
-
-All bugs can be reported at the ConTeXt mailing list
-<http://wiki.contextgarden.net/ConTeXt_Mailing_Lists>
-
-
-