[arch-commits] Commit in texlive-science/trunk (PKGBUILD)

François Charette francois at archlinux.org
Tue Nov 4 17:59:34 UTC 2008


    Date: Tuesday, November 4, 2008 @ 12:59:34
  Author: francois
Revision: 18382

upgpkg: texlive-science 2008.11130-1
    update 04.11.08

Modified:
  texlive-science/trunk/PKGBUILD

----------+
 PKGBUILD |   16 ++++++++++------
 1 file changed, 10 insertions(+), 6 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2008-11-04 17:59:33 UTC (rev 18381)
+++ PKGBUILD	2008-11-04 17:59:34 UTC (rev 18382)
@@ -1,7 +1,7 @@
 # Maintainer: Firmicus <firmicus āt gmx dōt net>
 
 pkgname=texlive-science
-pkgver=2008.10435
+pkgver=2008.11130
 pkgrel=1
 pkgdesc="TeX Live - Typesetting for natural and computer sciences"
 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=('e583fd9985cef508b2e4c4e4ea59b89a')
+md5sums=('4567336dd016590ac9691783833b1b49')
 
 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