extra/texlive-bin to 2011.1-2

This commit is contained in:
Kevin Mihelich 2011-10-19 19:56:58 -04:00
parent 189a186548
commit af511628c9

View file

@ -10,7 +10,7 @@ plugrel=1
pkgname=texlive-bin
pkgver=2011.1
_luatex_ver=0.70.1
pkgrel=1
pkgrel=2
pkgdesc="TeX Live binaries"
license=('GPL')
arch=('i686' 'x86_64')
@ -28,7 +28,8 @@ source=('texmf.cnf'
'archlinux-build.patch'
'http://mirrors.kernel.org/archlinux/other/texlive/texlive-bin-source-20110724.tar.xz'
'http://mirrors.kernel.org/archlinux/other/texlive/texlive-bin-texmf-20110724.tar.xz'
"http://foundry.supelec.fr/gf/download/frsrelease/392/1730/luatex-beta-${_luatex_ver}.tar.bz2"
# "http://foundry.supelec.fr/gf/download/frsrelease/392/1730/luatex-beta-${_luatex_ver}.tar.bz2"
'http://ftp.archlinux.org/other/texlive/luatex-svn4356.tar.xz'
)
backup=(etc/texmf/web2c/texmf.cnf \
etc/texmf/chktex/chktexrc \
@ -50,7 +51,7 @@ md5sums=('ff30d6813babd2e41c414365eea9c147'
'94ef5571a54262790ab64d6d044dd10c'
'58e8ab64188eaf15897b7acf472dca9f'
'9f7ae1aa24afd9e34289ac10a8f9e87b'
'c9348d4381170204b1a1b0440d8b6918')
'e7f0197559ef865d8c01683dab3b8526')
build() {
if [ "${CARCH}" = "armv7h" ]; then
@ -60,7 +61,8 @@ build() {
cd $srcdir
# Building LuaTeX
cd luatex-beta-${_luatex_ver}
# cd luatex-beta-${_luatex_ver}
cd luatex
patch -p0 -i ../fix-fontforge-encoding.patch
(cd source && ./texk/web2c/luatexdir/getluatexsvnversion.sh)
mkdir build
@ -231,7 +233,8 @@ package() {
rm -rf ${pkgdir}/usr/{texmf,texmf-dist}
## install luatex binary
install -m755 $srcdir/luatex-beta-${_luatex_ver}/build/texk/web2c/luatex $pkgdir/usr/bin/
#install -m755 $srcdir/luatex-beta-${_luatex_ver}/build/texk/web2c/luatex $pkgdir/usr/bin/
install -m755 $srcdir/luatex/build/texk/web2c/luatex $pkgdir/usr/bin/
cd $pkgdir/usr/bin
/bin/ln -s luatex texlua
/bin/ln -s luatex texluac