Date: Saturday, June 26, 2010 @ 10:43:33 Author: francois Revision: 84114
prerelease of texlive 2010 Modified: texlive-plainextra/trunk/PKGBUILD texlive-plainextra/trunk/texlive.install -----------------+ PKGBUILD | 22 ++++++++++++---------- texlive.install | 2 +- 2 files changed, 13 insertions(+), 11 deletions(-) Modified: PKGBUILD =================================================================== --- PKGBUILD 2010-06-26 14:43:27 UTC (rev 84113) +++ PKGBUILD 2010-06-26 14:43:33 UTC (rev 84114) @@ -1,7 +1,7 @@ # Maintainer: Firmicus <firmicus āt gmx dōt net> pkgname=texlive-plainextra -pkgver=2009.16629 +pkgver=2010.19038 pkgrel=1 pkgdesc="TeX Live - A collection of add-on packages and macros for plain TeX" 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=('a727b6fe7ceba348929649b724493e8a') +md5sums=('a8ea09196c075b540b4e6a413a0f4538') 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:43:27 UTC (rev 84113) +++ texlive.install 2010-06-26 14:43:33 UTC (rev 84114) @@ -1,6 +1,6 @@ post_install() { echo ">>> texlive: updating the filename database..." - texconfig-sys rehash + /usr/bin/mktexlsr } post_upgrade() {