[arch-commits] Commit in texlive-humanities/trunk (PKGBUILD)
François Charette
francois at archlinux.org
Wed Nov 5 19:21:46 UTC 2008
Date: Wednesday, November 5, 2008 @ 14:21:45
Author: francois
Revision: 18435
upgpkg: texlive-humanities 2008.10502-1
Modified:
texlive-humanities/trunk/PKGBUILD
----------+
PKGBUILD | 16 ++++++++++------
1 file changed, 10 insertions(+), 6 deletions(-)
Modified: PKGBUILD
===================================================================
--- PKGBUILD 2008-11-05 18:08:23 UTC (rev 18434)
+++ PKGBUILD 2008-11-05 19:21:45 UTC (rev 18435)
@@ -1,7 +1,7 @@
# Maintainer: Firmicus <firmicus Ät gmx dÅt net>
pkgname=texlive-humanities
-pkgver=2008.10432
+pkgver=2008.10502
pkgrel=1
pkgdesc="TeX Live - collection of LaTeX packages for law, linguistics, the social sciences, and the humanities"
license=('GPL')
@@ -12,14 +12,18 @@
url='http://tug.org/texlive/'
source=("ftp://ftp.archlinux.org/other/texlive/$pkgname-src.zip")
install=texlive.install
-md5sums=('35d6f412ec92652e82d1eeb334b685ef')
+md5sums=('ab6f9f5ee1bdcdbfdf6f6e6e832ff916')
build() {
- cd $startdir/src
+ 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/2008\.//'`
+ install -m644 CONTENTS $pkgdir/usr/share/texmf-var/arch/installedpkgs/${pkgname}_${_revnr}.pkgs || return 1
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/'{}' \; || exit 1
- find texmf* -type f -exec install -m644 '{}' $startdir/pkg/usr/share/'{}' \; || exit 1
+ install -m755 -d $pkgdir/usr/share || return 1
+ find texmf* -type d -exec install -d -m755 $pkgdir/usr/share/'{}' \; || exit 1
+ find texmf* -type f -exec install -m644 '{}' $pkgdir/usr/share/'{}' \; || exit 1
}
More information about the arch-commits
mailing list