[arch-commits] Commit in texlive-humanities/trunk (PKGBUILD texlive.install)

François Charette francois at archlinux.org
Sat Jun 26 14:42:40 UTC 2010


    Date: Saturday, June 26, 2010 @ 10:42:40
  Author: francois
Revision: 84105

prerelease of texlive 2010

Modified:
  texlive-humanities/trunk/PKGBUILD
  texlive-humanities/trunk/texlive.install

-----------------+
 PKGBUILD        |   24 +++++++++++++-----------
 texlive.install |    2 +-
 2 files changed, 14 insertions(+), 12 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2010-06-26 14:42:35 UTC (rev 84104)
+++ PKGBUILD	2010-06-26 14:42:40 UTC (rev 84105)
@@ -1,9 +1,9 @@
 # Maintainer: Firmicus <firmicus āt gmx dōt net>
 
 pkgname=texlive-humanities
-pkgver=2009.16540
+pkgver=2010.18675
 pkgrel=1
-pkgdesc="TeX Live - collection of LaTeX packages for law, linguistics, the social sciences, and the humanities"
+pkgdesc="TeX Live -  LaTeX packages for law, linguistics, social sciences, and humanities"
 license=('GPL')
 arch=(any)
 depends=('texlive-core' 'texlive-latexextra')
@@ -11,21 +11,23 @@
 url='http://tug.org/texlive/'
 source=("ftp://ftp.archlinux.org/other/texlive/$pkgname-$pkgver-src.zip")
 options=('!emptydirs')
+options=(!strip)
 install=texlive.install
-md5sums=('73ad0bd31871fbd61ce524b77bc2edf1')
+md5sums=('9a38dec46d92963026f8c1be3286e55d')
 
 build() {
-   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/2009\.//'`
-   install -m644 CONTENTS $pkgdir/usr/share/texmf-var/arch/installedpkgs/${pkgname}_${_revnr}.pkgs || return 1
-   for p in *.tar.xz; do 
+   for p in *.tar.xz; do
 	   bsdtar -xf $p || return 1
    done
-   rm -rf {tlpkg,doc,source}
+   rm -rf {tlpkg,doc,source} || true
+}
+package() {
+   install -m755 -d $pkgdir/var/lib/texmf/arch/installedpkgs || return 1
+   sed -i '/^#/d' CONTENTS || return 1
+   _revnr=`echo $pkgver | sed 's/2010\.//'`
+   install -m644 CONTENTS $pkgdir/var/lib/texmf/arch/installedpkgs/${pkgname}_${_revnr}.pkgs || return 1
    install -m755 -d $pkgdir/usr/share || return 1
-   wanteddirs=$(for d in *; do test -d $d && [[ $d != texmf* ]] && echo $d; done)
+   wanteddirs=$(for d in *; do test -d $d && [[ $d != texmf* ]] && echo $d; done) || true
    for dir in $wanteddirs; do
      find $dir -type d -exec install -d -m755 $pkgdir/usr/share/texmf-dist/'{}' \; || return 1
      find $dir -type f -exec install -m644 '{}' $pkgdir/usr/share/texmf-dist/'{}' \; || return 1

Modified: texlive.install
===================================================================
--- texlive.install	2010-06-26 14:42:35 UTC (rev 84104)
+++ texlive.install	2010-06-26 14:42:40 UTC (rev 84105)
@@ -1,6 +1,6 @@
 post_install() {
 	echo    ">>> texlive: updating the filename database..."
-	texconfig-sys rehash
+	/usr/bin/mktexlsr
 }
 
 post_upgrade() {




More information about the arch-commits mailing list