mirror of
https://github.com/archlinuxarm/PKGBUILDs.git
synced 2025-03-19 00:21:40 +00:00
36 lines
1.2 KiB
Bash
36 lines
1.2 KiB
Bash
![]() |
# Maintainer:Stefan Husmann <stefan-husmann@t-online.de>
|
||
|
|
||
|
pkgname=texlive-latexextra-doc
|
||
|
pkgver=2008.13033
|
||
|
pkgrel=1
|
||
|
pkgdesc="TeX Live - Large collection of add-on packages for LaTeX"
|
||
|
license=('GPL')
|
||
|
arch=('i686' 'x86_64')
|
||
|
depends=('texlive-latexextra')
|
||
|
optdepends=('texlive-pictures')
|
||
|
makedepends=('lzma-utils')
|
||
|
groups=('texlive-most-doc')
|
||
|
url='http://tug.org/texlive/'
|
||
|
source=("ftp://ftp.archlinux.org/other/texlive/$pkgname-src.zip" \
|
||
|
${pkgname}_13033.pkgs)
|
||
|
install=texlive.install
|
||
|
md5sums=('85e8d18fbf22ca7aeb676e983bfaf850' 'd87a4bee64708fa4cbf0871f594cd8b3')
|
||
|
|
||
|
build() {
|
||
|
cd $startdir/src
|
||
|
for p in *.tar.lzma; do
|
||
|
lzma --force -d $p || return 1
|
||
|
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
|
||
|
}
|