mirror of
https://github.com/archlinuxarm/PKGBUILDs.git
synced 2024-12-08 23:03:46 +00:00
34 lines
1.1 KiB
Bash
34 lines
1.1 KiB
Bash
|
# Maintainer:Stefan Husmann <stefan-husmann@t-online.de>
|
||
|
|
||
|
pkgname=texlive-latex3-doc
|
||
|
pkgver=2008.10126
|
||
|
pkgrel=2
|
||
|
pkgdesc="TeX Live - LaTeX3 packages"
|
||
|
license=('GPL')
|
||
|
arch=('i686' 'x86_64')
|
||
|
depends=('texlive-latex3')
|
||
|
makedepends=('lzma-utils')
|
||
|
groups=('texlive-most-doc')
|
||
|
url='http://tug.org/texlive/'
|
||
|
source=("ftp://ftp.archlinux.org/other/texlive/$pkgname-src.zip" \
|
||
|
${pkgname}_10126.pkgs)
|
||
|
md5sums=('da192c204f5a395fc2eadb0fafec5bd4' '000afa77c90599e107289210804e8e8c')
|
||
|
install=texlive.install
|
||
|
|
||
|
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
|
||
|
}
|