Date: Saturday, June 26, 2010 @ 10:42:35 Author: francois Revision: 84104
prerelease of texlive 2010 Modified: texlive-htmlxml/trunk/PKGBUILD texlive-htmlxml/trunk/texlive.install -----------------+ PKGBUILD | 22 ++++++++++++---------- texlive.install | 2 +- 2 files changed, 13 insertions(+), 11 deletions(-) Modified: PKGBUILD =================================================================== --- PKGBUILD 2010-06-26 14:42:30 UTC (rev 84103) +++ PKGBUILD 2010-06-26 14:42:35 UTC (rev 84104) @@ -1,7 +1,7 @@ # Maintainer: Firmicus <firmicus āt gmx dōt net> pkgname=texlive-htmlxml -pkgver=2009.15878 +pkgver=2010.18835 pkgrel=1 pkgdesc="TeX Live - Packages to convert LaTeX to XML/HTML, and typeset XML/SGML" license=('GPL') @@ -11,21 +11,23 @@ url='http://tug.org/texlive/' source=("ftp://ftp.archlinux.org/other/texlive/$pkgname-$pkgver-src.zip") options=('!emptydirs') +options=(!strip) install=texlive.install -md5sums=('50a166f235e768fc4393efe5c4a718ef') +md5sums=('b869903de0294d30b843df06c6ed4f85') build() { - cd $srcdir - install -m755 -d $pkgdir/usr/share/texmf-var/arch/installedpkgs || return 1 - sed -i '/^#/d' CONTENTS || return 1 - _revnr=`echo $pkgver | sed 's/2009\.//'` - install -m644 CONTENTS $pkgdir/usr/share/texmf-var/arch/installedpkgs/${pkgname}_${_revnr}.pkgs || return 1 - for p in *.tar.xz; do + for p in *.tar.xz; do bsdtar -xf $p || return 1 done - rm -rf {tlpkg,doc,source} + rm -rf {tlpkg,doc,source} || true +} +package() { + install -m755 -d $pkgdir/var/lib/texmf/arch/installedpkgs || return 1 + sed -i '/^#/d' CONTENTS || return 1 + _revnr=`echo $pkgver | sed 's/2010\.//'` + install -m644 CONTENTS $pkgdir/var/lib/texmf/arch/installedpkgs/${pkgname}_${_revnr}.pkgs || return 1 install -m755 -d $pkgdir/usr/share || return 1 - wanteddirs=$(for d in *; do test -d $d && [[ $d != texmf* ]] && echo $d; done) + wanteddirs=$(for d in *; do test -d $d && [[ $d != texmf* ]] && echo $d; done) || true for dir in $wanteddirs; do find $dir -type d -exec install -d -m755 $pkgdir/usr/share/texmf-dist/'{}' \; || return 1 find $dir -type f -exec install -m644 '{}' $pkgdir/usr/share/texmf-dist/'{}' \; || return 1 Modified: texlive.install =================================================================== --- texlive.install 2010-06-26 14:42:30 UTC (rev 84103) +++ texlive.install 2010-06-26 14:42:35 UTC (rev 84104) @@ -1,6 +1,6 @@ post_install() { echo ">>> texlive: updating the filename database..." - texconfig-sys rehash + /usr/bin/mktexlsr } post_upgrade() {