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

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


    Date: Tuesday, November 4, 2008 @ 12:13:58
  Author: francois
Revision: 18361

upgpkg: texlive-formatsextra 2008.10665-1
    update 04.11.08

Modified:
  texlive-formatsextra/trunk/PKGBUILD

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

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2008-11-04 16:56:22 UTC (rev 18360)
+++ PKGBUILD	2008-11-04 17:13:58 UTC (rev 18361)
@@ -1,7 +1,7 @@
 # Maintainer: Firmicus <firmicus āt gmx dōt net>
 
 pkgname=texlive-formatsextra
-pkgver=2008.7340
+pkgver=2008.10665
 pkgrel=1
 pkgdesc="TeX Live - collection of extra TeX 'formats'"
 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=('ebb8ae3cbec1334b8e3ce7f987c15d8d')
+md5sums=('f6b41aca8aa30d80118c0929a204356e')
 
 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