# Maintainer: Firmicus pkgname=texlive-fontsextra-doc pkgver=2008.13014 pkgrel=1 pkgdesc="TeX Live - all sorts of extra fonts" license=('GPL') arch=('i686' 'x86_64') depends=('texlive-fontsextra') makedepends=('lzma-utils') groups=('texlive-most-doc') url='http://tug.org/texlive/' source=("ftp://ftp.archlinux.org/other/texlive/$pkgname-src.zip" ${pkgname}_13014.pkgs) md5sums=('36d83b6f8a859695ccb66043e7e22a27' '353582cb9acec2e8f794bf9b6e92b2b1') options=('!emptydirs') install=texlive.install build() { cd $startdir/src for p in *.tar.lzma; do lzma --force -dc $p | tar xf - || return 1 done install -m755 -d $startdir/pkg/usr/share || return 1 find texmf* -type d -exec install -d -m755 $startdir/pkg/usr/share/'{}' \; || return 1 find texmf* -type f -exec install -m644 '{}' $startdir/pkg/usr/share/'{}' \; || return 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 }