[arch-commits] Commit in texlive-bin/gnome-unstable (PKGBUILD)

Jan de Groot jgc at archlinux.org
Sun Oct 11 14:11:16 UTC 2009


    Date: Sunday, October 11, 2009 @ 10:11:16
  Author: jgc
Revision: 54626

Fix build in chroot

Modified:
  texlive-bin/gnome-unstable/PKGBUILD

----------+
 PKGBUILD |   10 ++++++----
 1 file changed, 6 insertions(+), 4 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2009-10-11 12:31:52 UTC (rev 54625)
+++ PKGBUILD	2009-10-11 14:11:16 UTC (rev 54626)
@@ -124,14 +124,16 @@
     --disable-largefile \
     --disable-ipc \
     --without-mf-x-toolkit \
-    --without-x  || return 1
+    --without-x || return 1
    make || return 1
 
    ## install luatex binary
    install -d -m755 $pkgdir/usr/bin || return 1
    install -m755 texk/web2c/luatex $pkgdir/usr/bin/ || return 1
-   /bin/ln -sf $pkgdir/usr/bin/luatex texlua || return 1
-   /bin/ln -sf $pkgdir/usr/bin/luatexc texlua || return 1
+   /bin/ln -s $pkgdir/usr/bin/luatex texlua || return 1
+   /bin/ln -s $pkgdir/usr/bin/luatexc texluac || return 1
+   ln -s luatex ${pkgdir}/usr/bin/texlua || return 1
+   ln -s luatexc ${pkgdir}/usr/bin/texluac || return 1
    cd ../.. 
    ##################################
    # TODO don't forget to remove --disable-luatex below 
@@ -198,7 +200,7 @@
 
    ## create symlinks for formats 
    echo "--> Create symlinks for TeX formats ..."
-   $pkgdir/usr/bin/texlinks -f $pkgdir/usr/share/texmf/web2c/fmtutil.cnf $pkgdir/usr/bin/ || return 1
+   PATH="$PATH:${pkgdir}/usr/bin" texlinks -f $pkgdir/usr/share/texmf/web2c/fmtutil.cnf $pkgdir/usr/bin/ || return 1
    #############################################################
    
    ## CLEAN UP... 




More information about the arch-commits mailing list