Date: Thursday, September 15, 2011 @ 02:31:39
  Author: remy
Revision: 138040

db-move: moved texlive-latexextra from [testing] to [extra] (any)

Added:
  texlive-latexextra/repos/extra-any/Changelog
    (from rev 138034, texlive-latexextra/repos/testing-any/Changelog)
  texlive-latexextra/repos/extra-any/PKGBUILD
    (from rev 138034, texlive-latexextra/repos/testing-any/PKGBUILD)
  texlive-latexextra/repos/extra-any/texlive-latexextra.maps
    (from rev 138034, 
texlive-latexextra/repos/testing-any/texlive-latexextra.maps)
  texlive-latexextra/repos/extra-any/texlive.install
    (from rev 138034, texlive-latexextra/repos/testing-any/texlive.install)
Deleted:
  texlive-latexextra/repos/extra-any/Changelog
  texlive-latexextra/repos/extra-any/PKGBUILD
  texlive-latexextra/repos/extra-any/texlive-latexextra.maps
  texlive-latexextra/repos/extra-any/texlive.install
  texlive-latexextra/repos/testing-any/

-------------------------+
 Changelog               |  208 +++++++++++++++++++++++++++++++++++-----------
 PKGBUILD                |  141 +++++++++++++++----------------
 texlive-latexextra.maps |    6 -
 texlive.install         |  104 +++++++++++------------
 4 files changed, 289 insertions(+), 170 deletions(-)

Deleted: extra-any/Changelog
===================================================================
--- extra-any/Changelog 2011-09-15 06:31:38 UTC (rev 138039)
+++ extra-any/Changelog 2011-09-15 06:31:39 UTC (rev 138040)
@@ -1,46 +0,0 @@
-texlive-latexextra 2010.22155-1
-
-- upgrade package achemso 20564 -> 21698
-- new package adjmulticol
-- upgrade package attachfile 19765 -> 21866
-- new package bashful
-- new package beamer2thesis
-- new package beamerthemejltree
-- upgrade package boxhandler 15878 -> 21451
-- upgrade package calxxxx-yyyy 19973 -> 21265
-- new package canoniclayout
-- upgrade package catchfilebetweentags 20204 -> 21476
-- new package catoptions
-- upgrade package cleveref 19760 -> 21918
-- upgrade package codepage 15878 -> 21126
-- new package collcell
-- upgrade package colortab 18269 -> 22155
-- new package colourchange
-- upgrade package cprotect 20900 -> 21209
-- upgrade package csquotes 20497 -> 21867
-- upgrade package csvsimple 20398 -> 21981
-- upgrade package currfile 20934 -> 21012
-- new package easy-todo
-- upgrade package ed 15878 -> 21084
-- upgrade package enumitem-zref 20884 -> 21472
-- upgrade package esdiff 15878 -> 21385
-- upgrade package everyhook 19935 -> 21298
-- upgrade package exercise 20744 -> 22107
-- upgrade package facsimile 15878 -> 21328
-- new package fancytabs
-- upgrade package filehook 20933 -> 21669
-- upgrade package fileinfo 20612 -> 21259
-- new package filemod
-- new package finstrut
-- upgrade package foilhtml 15878 -> 21855
-- upgrade package fonttable 16111 -> 21399
-- upgrade package formlett 15878 -> 21480
-- upgrade package fwlw 17318 -> 21548
-- upgrade package g-brief 15878 -> 21140
-- upgrade package glossaries 19358 -> 22100
-- upgrade package gmdoc 20441 -> 21292
-- upgrade package gmutils 20183 -> 21294
-- upgrade package gmverb 20184 -> 21293
-- upgrade package hardwrap 20407 -> 21396
-- upgrade package harpoon 15878 -> 21327
-

Copied: texlive-latexextra/repos/extra-any/Changelog (from rev 138034, 
texlive-latexextra/repos/testing-any/Changelog)
===================================================================
--- extra-any/Changelog                         (rev 0)
+++ extra-any/Changelog 2011-09-15 06:31:39 UTC (rev 138040)
@@ -0,0 +1,162 @@
+texlive-latexextra 2011.22931-1
+
+- upgrade package cals 20025 -> 22766
+- upgrade package eqell 22673 -> 22931
+- upgrade package serbian-lig 22572 -> 22871
+- new package serbianc
+- upgrade package skb 22443 -> 22781
+
+texlive-latexextra 2011.22673-1
+
+- upgrade package changes 20546 -> 22239
+- new package chet
+- upgrade package dtk 20347 -> 22213
+- upgrade package easylist 17241 -> 22362
+- upgrade package eqell 20219 -> 22673
+- upgrade package exam 15878 -> 22585
+- upgrade package hrefhide 21255 -> 22255
+- upgrade package hyperxmp 22127 -> 22306
+- new package ifnextok
+- new package mathalfa
+- new package mbenotes
+- upgrade package paresse 22143 -> 22257
+- upgrade package pax 18835 -> 22179
+- upgrade package pdfcomment 20724 -> 22604
+- upgrade package pdfmarginpar 16102 -> 22334
+- new package regstats
+- upgrade package savetrees 18724 -> 22491
+- new package serbian-lig
+- upgrade package skb 19858 -> 22443
+- upgrade package spot 19844 -> 22408
+- upgrade package termcal 15878 -> 22514
+- new package thumbs
+- upgrade package todonotes 21639 -> 22164
+- new package xhfill
+- deleted package em
+- deleted package sfheaders
+- deleted package showdim
+- deleted package slashbox
+- deleted package tablenotes
+- deleted package undertilde
+
+texlive-latexextra 2010.22155-1
+
+- upgrade package achemso 20564 -> 21698
+- new package adjmulticol
+- upgrade package attachfile 19765 -> 21866
+- new package bashful
+- new package beamer2thesis
+- new package beamerthemejltree
+- upgrade package boxhandler 15878 -> 21451
+- upgrade package calxxxx-yyyy 19973 -> 21265
+- new package canoniclayout
+- upgrade package catchfilebetweentags 20204 -> 21476
+- new package catoptions
+- upgrade package cleveref 19760 -> 21918
+- upgrade package codepage 15878 -> 21126
+- new package collcell
+- upgrade package colortab 18269 -> 22155
+- new package colourchange
+- upgrade package cprotect 20900 -> 21209
+- upgrade package csquotes 20497 -> 21867
+- upgrade package csvsimple 20398 -> 21981
+- upgrade package currfile 20934 -> 21012
+- new package easy-todo
+- upgrade package ed 15878 -> 21084
+- upgrade package enumitem-zref 20884 -> 21472
+- upgrade package esdiff 15878 -> 21385
+- upgrade package everyhook 19935 -> 21298
+- upgrade package exercise 20744 -> 22107
+- upgrade package facsimile 15878 -> 21328
+- new package fancytabs
+- upgrade package filehook 20933 -> 21669
+- upgrade package fileinfo 20612 -> 21259
+- new package filemod
+- new package finstrut
+- upgrade package foilhtml 15878 -> 21855
+- upgrade package fonttable 16111 -> 21399
+- upgrade package formlett 15878 -> 21480
+- upgrade package fwlw 17318 -> 21548
+- upgrade package g-brief 15878 -> 21140
+- upgrade package glossaries 19358 -> 22100
+- upgrade package gmdoc 20441 -> 21292
+- upgrade package gmutils 20183 -> 21294
+- upgrade package gmverb 20184 -> 21293
+- upgrade package hardwrap 20407 -> 21396
+- upgrade package harpoon 15878 -> 21327
+- new package he-she
+- upgrade package hrefhide 20041 -> 21255
+- upgrade package hyperxmp 15878 -> 22127
+- upgrade package ifplatform 15878 -> 21156
+- upgrade package inputtrc 20637 -> 21260
+- upgrade package interfaces 20878 -> 21474
+- new package iwhdp
+- upgrade package kix 17363 -> 21606
+- upgrade package koma-moderncvclassic 20696 -> 22109
+- upgrade package lastpage 19958 -> 21261
+- upgrade package latex-tds 20251 -> 22144
+- upgrade package lettre 15878 -> 21400
+- new package libgreek
+- upgrade package linegoal 20691 -> 21523
+- upgrade package lipsum 15878 -> 22098
+- upgrade package localloc 15878 -> 21934
+- upgrade package ltxdockit 20711 -> 21869
+- upgrade package ltxnew 17908 -> 21586
+- new package mathastext
+- upgrade package morefloats 19975 -> 21262
+- new package morehype
+- upgrade package moreverb 15878 -> 22126
+- upgrade package multenum 18491 -> 21775
+- upgrade package mylatexformat 19664 -> 21392
+- new package newunicodechar
+- upgrade package newvbtm 15878 -> 21935
+- upgrade package newverbs 17721 -> 21441
+- upgrade package nicetext 17725 -> 21257
+- new package nonumonpart
+- upgrade package ntheorem 18764 -> 21607
+- upgrade package outliner 15878 -> 21095
+- upgrade package pagesLTS 19957 -> 21749
+- upgrade package papermas 20042 -> 21258
+- upgrade package paresse 17520 -> 22143
+- upgrade package parselines 20494 -> 21475
+- upgrade package pawpict 15878 -> 21629
+- upgrade package piff 20676 -> 21894
+- upgrade package postcards 15878 -> 21641
+- new package pxgreeks
+- upgrade package quotchap 15878 -> 21082
+- upgrade package rcs-multi 15878 -> 21939
+- upgrade package refcheck 15878 -> 21094
+- upgrade package register 15878 -> 21127
+- upgrade package relenc 19520 -> 22050
+- new package sitem
+- upgrade package spreadtab 18807 -> 22046
+- upgrade package standalone 17579 -> 22017
+- upgrade package svn-multi 20935 -> 21919
+- upgrade package tabu 20877 -> 21534
+- upgrade package tcldoc 15878 -> 22018
+- new package textgreek
+- upgrade package todonotes 19905 -> 21639
+- upgrade package totcount 15878 -> 21178
+- upgrade package turnthepage 20920 -> 21829
+- new package txgreeks
+- upgrade package type1cm 15878 -> 21820
+- upgrade package undolabl 20043 -> 21263
+- new package uri
+- new package verbasef
+- upgrade package version 15878 -> 21920
+- upgrade package versions 15878 -> 21921
+- upgrade package vruler 17523 -> 21598
+- upgrade package warning 15878 -> 22028
+- upgrade package was 15878 -> 21439
+- upgrade package wrapfig 15878 -> 22048
+- upgrade package ydoc 20938 -> 21787
+- deleted package beamer-contrib
+- deleted package dialogl
+- deleted package mff
+- deleted package multibox
+- deleted package script
+- deleted package timing
+- deleted package vector
+- deleted package vrsion
+- deleted package xtcapts
+

Deleted: extra-any/PKGBUILD
===================================================================
--- extra-any/PKGBUILD  2011-09-15 06:31:38 UTC (rev 138039)
+++ extra-any/PKGBUILD  2011-09-15 06:31:39 UTC (rev 138040)
@@ -1,69 +0,0 @@
-# Maintainer: Firmicus <firmicus āt gmx dōt net>
-# Maintainer: Rémy Oudompheng <r...@archlinux.org>
-
-pkgname=texlive-latexextra
-pkgver=2010.22155
-pkgrel=1
-pkgdesc="TeX Live - Large collection of add-on packages for LaTeX"
-license=('GPL')
-arch=(any)
-depends=('texlive-core')
-optdepends=('texlive-pictures: to use the package overpic')
-groups=('texlive-most')
-url='http://tug.org/texlive/'
-source=("ftp://ftp.archlinux.org/other/texlive/$pkgname-$pkgver-src.zip"; 
"$pkgname.maps")
-options=('!emptydirs')
-options=(!strip)
-install=texlive.install
-md5sums=('d4f1b5ab21c859c92031ac5a68b2a739'
-         '9e4825f47dac663dd62c4bfa67899e84')
-
-build() {
-   for p in *.tar.xz; do
-          bsdtar -xf $p
-   done
-   rm -rf {tlpkg,doc,source} || true
-}
-package() {
-   install -m755 -d $pkgdir/var/lib/texmf/arch/installedpkgs
-   sed -i '/^#/d' CONTENTS
-   _revnr=`echo $pkgver | sed 's/2010\.//'`
-   install -m644 CONTENTS 
$pkgdir/var/lib/texmf/arch/installedpkgs/${pkgname}_${_revnr}.pkgs
-   install -m644 $pkgname.maps $pkgdir/var/lib/texmf/arch/installedpkgs/
-   install -m755 -d $pkgdir/usr/share
-   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/'{}' \;
-     find $dir -type f -exec install -m644 '{}' 
$pkgdir/usr/share/texmf-dist/'{}' \;
-   done
-   if [[ -d texmf-dist ]]; then
-     find texmf-dist -type d -exec install -d -m755 $pkgdir/usr/share/'{}' \;
-     find texmf-dist -type f -exec install -m644 '{}' $pkgdir/usr/share/'{}' \;
-   fi
-   if [[ -d $pkgdir/usr/share/texmf-dist/scripts ]]; then
-     find $pkgdir/usr/share/texmf-dist/scripts -type f -exec chmod a+x '{}' \;
-   fi
-   #add symlinks that were in texlive-bin:
-   install -m755 -d $pkgdir/usr/bin
-   ln -s /usr/share/texmf-dist/scripts/authorindex/authorindex 
$pkgdir/usr/bin/authorindex
-   ln -s /usr/share/texmf-dist/scripts/glossaries/makeglossaries 
$pkgdir/usr/bin/makeglossaries
-   ln -s /usr/share/texmf-dist/scripts/pax/pdfannotextractor.pl 
$pkgdir/usr/bin/pdfannotextractor
-   ln -s /usr/share/texmf-dist/scripts/ppower4/pdfthumb.tlu 
$pkgdir/usr/bin/pdfthumb
-   ln -s /usr/share/texmf-dist/scripts/perltex/perltex.pl 
$pkgdir/usr/bin/perltex
-   #ln -s /usr/share/texmf-dist/scripts/ppower4/ppower4.tlu 
$pkgdir/usr/bin/ppower4
-   ln -s /usr/share/texmf-dist/scripts/pst-pdf/ps4pdf $pkgdir/usr/bin/ps4pdf
-   ln -s /usr/share/texmf-dist/scripts/splitindex/perl/splitindex.pl 
$pkgdir/usr/bin/splitindex
-   ln -s /usr/share/texmf-dist/scripts/svn-multi/svn-multi.pl 
$pkgdir/usr/bin/svn-multi
-   ln -s /usr/share/texmf-dist/scripts/vpe/vpe.pl $pkgdir/usr/bin/vpe
-   # but ppower4 was a symlink to ppower4.tlu, which was broken, but this is 
far better:
-   (
-   cat <<"END"
-#!/bin/bash
-java -jar /usr/share/texmf-dist/scripts/ppower4/pp4p.jar $@
-END
-   ) > /tmp/ppower4 
-   install -m755 /tmp/ppower4 $pkgdir/usr/bin/
-   rm $pkgdir/usr/share/texmf-dist/scripts/glossaries/makeglossaries.bat
-   rm $pkgdir/usr/share/texmf-dist/scripts/pst-pdf/ps4pdf.bat*
-   rm $pkgdir/usr/share/texmf-dist/scripts/shipunov/biokey2html.bat
-}

Copied: texlive-latexextra/repos/extra-any/PKGBUILD (from rev 138034, 
texlive-latexextra/repos/testing-any/PKGBUILD)
===================================================================
--- extra-any/PKGBUILD                          (rev 0)
+++ extra-any/PKGBUILD  2011-09-15 06:31:39 UTC (rev 138040)
@@ -0,0 +1,72 @@
+# Maintainer: Firmicus <firmicus āt gmx dōt net>
+# Maintainer: Rémy Oudompheng <r...@archlinux.org>
+
+pkgname=texlive-latexextra
+pkgver=2011.22931
+_revnr=${pkgver#2011.}
+pkgrel=1
+pkgdesc="TeX Live - Large collection of add-on packages for LaTeX"
+license=('GPL')
+arch=(any)
+depends=('texlive-core')
+optdepends=(
+  'texlive-pictures: to use the package overpic'
+  'openjdk6: for use by ppower4'
+)
+groups=('texlive-most')
+url='http://tug.org/texlive/'
+source=("ftp://ftp.archlinux.org/other/texlive/$pkgname-$pkgver-src.zip"; 
"$pkgname.maps")
+options=('!emptydirs')
+options=(!strip)
+install=texlive.install
+md5sums=('d8f1647c343cc9b58730e5a81e9fea81'
+         '9e4825f47dac663dd62c4bfa67899e84')
+
+build() {
+   for p in *.tar.xz; do
+          bsdtar -xf $p
+   done
+   rm -rf {tlpkg,doc,source} || true
+}
+package() {
+   install -m755 -d $pkgdir/var/lib/texmf/arch/installedpkgs
+   sed -i '/^#/d' CONTENTS
+   install -m644 CONTENTS 
$pkgdir/var/lib/texmf/arch/installedpkgs/${pkgname}_${_revnr}.pkgs
+   install -m644 $pkgname.maps $pkgdir/var/lib/texmf/arch/installedpkgs/
+   install -m755 -d $pkgdir/usr/share
+   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/'{}' \;
+     find $dir -type f -exec install -m644 '{}' 
$pkgdir/usr/share/texmf-dist/'{}' \;
+   done
+   if [[ -d texmf-dist ]]; then
+     find texmf-dist -type d -exec install -d -m755 $pkgdir/usr/share/'{}' \;
+     find texmf-dist -type f -exec install -m644 '{}' $pkgdir/usr/share/'{}' \;
+   fi
+   if [[ -d $pkgdir/usr/share/texmf-dist/scripts ]]; then
+     find $pkgdir/usr/share/texmf-dist/scripts -type f -exec chmod a+x '{}' \;
+   fi
+   #add symlinks that were in texlive-bin:
+   install -m755 -d $pkgdir/usr/bin
+   ln -s /usr/share/texmf-dist/scripts/authorindex/authorindex 
$pkgdir/usr/bin/authorindex
+   ln -s /usr/share/texmf-dist/scripts/glossaries/makeglossaries 
$pkgdir/usr/bin/makeglossaries
+   ln -s /usr/share/texmf-dist/scripts/pax/pdfannotextractor.pl 
$pkgdir/usr/bin/pdfannotextractor
+   ln -s /usr/share/texmf-dist/scripts/ppower4/pdfthumb.tlu 
$pkgdir/usr/bin/pdfthumb
+   ln -s /usr/share/texmf-dist/scripts/perltex/perltex.pl 
$pkgdir/usr/bin/perltex
+   #ln -s /usr/share/texmf-dist/scripts/ppower4/ppower4.tlu 
$pkgdir/usr/bin/ppower4
+   ln -s /usr/share/texmf-dist/scripts/pst-pdf/ps4pdf $pkgdir/usr/bin/ps4pdf
+   ln -s /usr/share/texmf-dist/scripts/splitindex/perl/splitindex.pl 
$pkgdir/usr/bin/splitindex
+   ln -s /usr/share/texmf-dist/scripts/svn-multi/svn-multi.pl 
$pkgdir/usr/bin/svn-multi
+   ln -s /usr/share/texmf-dist/scripts/vpe/vpe.pl $pkgdir/usr/bin/vpe
+   # but ppower4 was a symlink to ppower4.tlu, which was broken, but this is 
far better:
+   (
+   cat <<"END"
+#!/bin/bash
+java -jar /usr/share/texmf-dist/scripts/ppower4/pp4p.jar $@
+END
+   ) > /tmp/ppower4 
+   install -m755 /tmp/ppower4 $pkgdir/usr/bin/
+   rm $pkgdir/usr/share/texmf-dist/scripts/glossaries/makeglossaries.bat
+   rm $pkgdir/usr/share/texmf-dist/scripts/pst-pdf/ps4pdf.bat*
+   rm $pkgdir/usr/share/texmf-dist/scripts/shipunov/biokey2html.bat
+}

Deleted: extra-any/texlive-latexextra.maps
===================================================================
--- extra-any/texlive-latexextra.maps   2011-09-15 06:31:38 UTC (rev 138039)
+++ extra-any/texlive-latexextra.maps   2011-09-15 06:31:39 UTC (rev 138040)
@@ -1,3 +0,0 @@
-Map epiolmec.map
-MixedMap esint.map
-MixedMap manfnt.map

Copied: texlive-latexextra/repos/extra-any/texlive-latexextra.maps (from rev 
138034, texlive-latexextra/repos/testing-any/texlive-latexextra.maps)
===================================================================
--- extra-any/texlive-latexextra.maps                           (rev 0)
+++ extra-any/texlive-latexextra.maps   2011-09-15 06:31:39 UTC (rev 138040)
@@ -0,0 +1,3 @@
+Map epiolmec.map
+MixedMap esint.map
+MixedMap manfnt.map

Deleted: extra-any/texlive.install
===================================================================
--- extra-any/texlive.install   2011-09-15 06:31:38 UTC (rev 138039)
+++ extra-any/texlive.install   2011-09-15 06:31:39 UTC (rev 138040)
@@ -1,52 +0,0 @@
-PKGNAME="texlive-latexextra"
-UPDMAP="etc/texmf/web2c/updmap.cfg"
-UPDMAPLOCAL="etc/texmf/web2c/updmap-local.cfg"
-SYNCWITHTREES=''
-
-MAPFILE="var/lib/texmf/arch/installedpkgs/$PKGNAME.maps"
-
-post_install() {
-  TMPFILE=`mktemp`
-  echo    ">>> texlive: saving updmap.cfg as $TMPFILE..."
-  cp "$UPDMAP" "$TMPFILE"
-  echo    ">>> texlive: regenerating updmap.cfg (custom additions shoud go"
-  echo    "             into /etc/texmf/web2c/updmap-local.cfg"
-  cp usr/share/texmf/web2c/updmap-hdr.cfg $UPDMAP
-  cat var/lib/texmf/arch/installedpkgs/*.maps >> $UPDMAP
-  [ -f "$UPDMAPLOCAL" ] && cat "$UPDMAPLOCAL" >> $UPDMAP
-  echo    ">>> texlive: updating the filename database..."
-  usr/bin/mktexlsr
-  echo    ">>> texlive: updating the fontmap files with updmap..."
-  usr/bin/updmap-sys --quiet --nohash
-  echo    " done." 
-}
-
-post_upgrade() {
-  TMPFILE=`mktemp`
-  echo    ">>> texlive: saving updmap.cfg as $TMPFILE..."
-  cp "$UPDMAP" "$TMPFILE"
-  echo    ">>> texlive: regenerating updmap.cfg (custom additions shoud go"
-  echo    "             into /etc/texmf/web2c/updmap-local.cfg"
-  cp usr/share/texmf/web2c/updmap-hdr.cfg $UPDMAP
-  cat var/lib/texmf/arch/installedpkgs/*.maps >> $UPDMAP
-  [ -f "$UPDMAPLOCAL" ] && cat "$UPDMAPLOCAL" >> $UPDMAP
-  echo    ">>> texlive: updating the filename database..."
-  usr/bin/mktexlsr
-  echo    ">>> texlive: updating the fontmap files with updmap..."
-  usr/bin/updmap-sys --quiet --nohash $SYNCWITHTREES
-  echo    " done." 
-}
-
-pre_remove() {
-for m in `cut -d' ' -f2 $MAPFILE`; do 
-  sed -i "/\s$m/d" $UPDMAP ; 
-done
-}
-
-post_remove() {
-  echo    ">>> texlive: updating the filename database..."
-  usr/bin/mktexlsr
-  echo    ">>> texlive: updating the fontmap files with updmap..."
-  usr/bin/updmap-sys --quiet --nohash
-  echo    " done." 
-}

Copied: texlive-latexextra/repos/extra-any/texlive.install (from rev 138034, 
texlive-latexextra/repos/testing-any/texlive.install)
===================================================================
--- extra-any/texlive.install                           (rev 0)
+++ extra-any/texlive.install   2011-09-15 06:31:39 UTC (rev 138040)
@@ -0,0 +1,52 @@
+PKGNAME="texlive-latexextra"
+UPDMAP="etc/texmf/web2c/updmap.cfg"
+UPDMAPLOCAL="etc/texmf/web2c/updmap-local.cfg"
+SYNCWITHTREES=''
+
+MAPFILE="var/lib/texmf/arch/installedpkgs/$PKGNAME.maps"
+
+post_install() {
+  TMPFILE=`mktemp`
+  echo    ">>> texlive: saving updmap.cfg as $TMPFILE..."
+  cp "$UPDMAP" "$TMPFILE"
+  echo    ">>> texlive: regenerating updmap.cfg (custom additions shoud go"
+  echo    "             into /etc/texmf/web2c/updmap-local.cfg"
+  cp usr/share/texmf/web2c/updmap-hdr.cfg $UPDMAP
+  cat var/lib/texmf/arch/installedpkgs/*.maps >> $UPDMAP
+  [ -f "$UPDMAPLOCAL" ] && cat "$UPDMAPLOCAL" >> $UPDMAP
+  echo    ">>> texlive: updating the filename database..."
+  usr/bin/mktexlsr
+  echo    ">>> texlive: updating the fontmap files with updmap..."
+  usr/bin/updmap-sys --quiet --nohash
+  echo    " done." 
+}
+
+post_upgrade() {
+  TMPFILE=`mktemp`
+  echo    ">>> texlive: saving updmap.cfg as $TMPFILE..."
+  cp "$UPDMAP" "$TMPFILE"
+  echo    ">>> texlive: regenerating updmap.cfg (custom additions shoud go"
+  echo    "             into /etc/texmf/web2c/updmap-local.cfg"
+  cp usr/share/texmf/web2c/updmap-hdr.cfg $UPDMAP
+  cat var/lib/texmf/arch/installedpkgs/*.maps >> $UPDMAP
+  [ -f "$UPDMAPLOCAL" ] && cat "$UPDMAPLOCAL" >> $UPDMAP
+  echo    ">>> texlive: updating the filename database..."
+  usr/bin/mktexlsr
+  echo    ">>> texlive: updating the fontmap files with updmap..."
+  usr/bin/updmap-sys --quiet --nohash $SYNCWITHTREES
+  echo    " done." 
+}
+
+pre_remove() {
+for m in `cut -d' ' -f2 $MAPFILE`; do 
+  sed -i "/\s$m/d" $UPDMAP ; 
+done
+}
+
+post_remove() {
+  echo    ">>> texlive: updating the filename database..."
+  usr/bin/mktexlsr
+  echo    ">>> texlive: updating the fontmap files with updmap..."
+  usr/bin/updmap-sys --quiet --nohash
+  echo    " done." 
+}

Reply via email to