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

François Charette francois at archlinux.org
Tue Nov 4 16:56:01 UTC 2008


    Date: Tuesday, November 4, 2008 @ 11:56:00
  Author: francois
Revision: 18359

upgpkg: texlive-fontsextra 2008.11140-1
    update 04.11.08

Modified:
  texlive-fontsextra/trunk/PKGBUILD

----------+
 PKGBUILD |   22 +++++++++++++---------
 1 file changed, 13 insertions(+), 9 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2008-11-04 16:34:17 UTC (rev 18358)
+++ PKGBUILD	2008-11-04 16:56:00 UTC (rev 18359)
@@ -1,7 +1,7 @@
 # Maintainer: Firmicus <firmicus āt gmx dōt net>
 
 pkgname=texlive-fontsextra
-pkgver=2008.10427
+pkgver=2008.11140
 pkgrel=1
 pkgdesc="TeX Live - all sorts of extra fonts"
 license=('GPL')
@@ -13,19 +13,23 @@
 source=("ftp://ftp.archlinux.org/other/texlive/$pkgname-src.zip")
 options=('!emptydirs')
 install=texlive.install
-md5sums=('0fcb2436d0d688bf158584520d511d27')
+md5sums=('a0a8c3c825f877bd5e849248f88c5df1')
 
 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/'{}' \; || return 1
-   find texmf* -type f -exec install -m644 '{}' $startdir/pkg/usr/share/'{}' \; || return 1
+   install -m755 -d $pkgdir/usr/share || return 1
+   find texmf* -type d -exec install -d -m755 $pkgdir/usr/share/'{}' \; || return 1
+   find texmf* -type f -exec install -m644 '{}' $pkgdir/usr/share/'{}' \; || return 1
    
    # remove stuff depending on omega
-   rm -rf $startdir/pkg/usr/share/texmf-dist/omega
-   find $startdir/pkg/ -wholename '*ocherokee*' -delete
-   find $startdir/pkg/ -wholename '*oinuit*' -delete
+   rm -rf $pkgdir/usr/share/texmf-dist/omega
+   find $pkgdir/ -wholename '*ocherokee*' -delete
+   find $pkgdir/ -wholename '*oinuit*' -delete
 }




More information about the arch-commits mailing list