# Maintainer:Stefan Husmann pkgname=texlive-langextra-doc pkgver=2008.12666 pkgrel=1 pkgdesc="TeX Live - Bundle of all extra language support" license=('GPL') arch=('i686' 'x86_64') conflicts=('texlive-langafrican-doc' 'texlive-langarab-doc' 'texlive-langarmenian-doc' 'texlive-langcroatian-doc' 'texlive-langhebrew-doc' 'texlive-langindic-doc' 'texlive-langmongolian-doc' 'texlive-langtibetan-doc' 'texlive-langvietnamese-doc') provides=('texlive-langafrican-doc' 'texlive-langarab-doc' 'texlive-langarmenian-doc' 'texlive-langcroatian-doc' 'texlive-langhebrew-doc' 'texlive-langindic-doc' 'texlive-langmongolian-doc' 'texlive-langtibetan-doc' 'texlive-langvietnamese-doc') depends=('texlive-langextra') makedepends=('lzma-utils') groups=('texlive-lang-doc') url='http://tug.org/texlive/' source=("ftp://ftp.archlinux.org/other/texlive/$pkgname-src.zip" \ ${pkgname}_12666.pkgs) install=texlive.install md5sums=('2880b4611f13af6c0e291ea45251644e' 'e29c910c50aaf7baf270243d5eb056ce') build() { cd $startdir/src for p in *.tar.lzma; do lzma --force -d $p tar xf ${p%.lzma} || return 1 done install -m755 -d $startdir/pkg/usr/share || return 1 find texmf* -type d -exec install -d -m755 $startdir/pkg/usr/share/'{}' \; || exit 1 find texmf* -type f -exec install -m644 '{}' $startdir/pkg/usr/share/'{}' \; || exit 1 install -m755 -d $pkgdir/usr/share/texmf-var/arch/installedpkgs || return 1 sed -i '/^#/d' CONTENTS || return 1 _revnr=`echo $pkgver | sed 's/2008\.//'` install -m644 CONTENTS \ $pkgdir/usr/share/texmf-var/arch/installedpkgs/${pkgname}_${_revnr}.pkgs \ || return 1 }