[arch-commits] Commit in texlive-langgreek/repos (4 files)

2016-06-19 Thread Rémy Oudompheng
Date: Sunday, June 19, 2016 @ 22:34:05
  Author: remy
Revision: 270227

archrelease: copy trunk to testing-any

Added:
  texlive-langgreek/repos/testing-any/
  texlive-langgreek/repos/testing-any/PKGBUILD
(from rev 270226, texlive-langgreek/trunk/PKGBUILD)
  texlive-langgreek/repos/testing-any/texlive-langgreek.maps
(from rev 270226, texlive-langgreek/trunk/texlive-langgreek.maps)
  texlive-langgreek/repos/testing-any/texlive.install
(from rev 270226, texlive-langgreek/trunk/texlive.install)

+
 PKGBUILD   |   49 
 texlive-langgreek.maps |5 
 texlive.install|   52 +++
 3 files changed, 106 insertions(+)

Copied: texlive-langgreek/repos/testing-any/PKGBUILD (from rev 270226, 
texlive-langgreek/trunk/PKGBUILD)
===
--- testing-any/PKGBUILD(rev 0)
+++ testing-any/PKGBUILD2016-06-19 22:34:05 UTC (rev 270227)
@@ -0,0 +1,49 @@
+# $Id$
+# Maintainer: Firmicus 
+# Maintainer: Rémy Oudompheng 
+
+pkgname=texlive-langgreek
+pkgver=2016.40850
+_revnr=${pkgver#2016.}
+pkgrel=1
+pkgdesc="TeX Live - Fonts and support for typesetting Greek"
+license=('GPL')
+arch=(any)
+depends=('texlive-core')
+groups=('texlive-lang')
+url='http://tug.org/texlive/'
+source=("https://sources.archlinux.org/other/texlive/$pkgname-$pkgver-src.zip; 
"$pkgname.maps")
+options=('!emptydirs')
+install=texlive.install
+md5sums=('5b84dabf4caf2e11aa178f389325f131'
+ 'a7d853454158016e29d861aabf9a3e74')
+
+build() {
+   cd "$srcdir"
+   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
+   install -m755 -d $pkgdir/usr/bin
+   ln -s /usr/share/texmf-dist/scripts/mkgrkindex/mkgrkindex 
$pkgdir/usr/bin/mkgrkindex
+}

Copied: texlive-langgreek/repos/testing-any/texlive-langgreek.maps (from rev 
270226, texlive-langgreek/trunk/texlive-langgreek.maps)
===
--- testing-any/texlive-langgreek.maps  (rev 0)
+++ testing-any/texlive-langgreek.maps  2016-06-19 22:34:05 UTC (rev 270227)
@@ -0,0 +1,5 @@
+Map gfsbaskerville.map
+Map gfsporson.map
+Map kerkis.map
+MixedMap cbgreek-full.map
+MixedMap iby.map

Copied: texlive-langgreek/repos/testing-any/texlive.install (from rev 270226, 
texlive-langgreek/trunk/texlive.install)
===
--- testing-any/texlive.install (rev 0)
+++ testing-any/texlive.install 2016-06-19 22:34:05 UTC (rev 270227)
@@ -0,0 +1,52 @@
+PKGNAME="texlive-langgreek"
+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 should go"
+  echo" into /etc/texmf/web2c/updmap-local.cfg"
+  cp usr/share/texmf-dist/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 should go"
+  echo" into /etc/texmf/web2c/updmap-local.cfg"
+  cp usr/share/texmf-dist/web2c/updmap-hdr.cfg $UPDMAP
+  cat var/lib/texmf/arch/installedpkgs/*.maps >> $UPDMAP
+  [ -f "$UPDMAPLOCAL" ] && cat "$UPDMAPLOCAL" >> $UPDMAP
+  echo  

[arch-commits] Commit in texlive-langgreek/repos (4 files)

2015-09-01 Thread Rémy Oudompheng
Date: Tuesday, September 1, 2015 @ 12:33:53
  Author: remy
Revision: 245149

archrelease: copy trunk to testing-any

Added:
  texlive-langgreek/repos/testing-any/
  texlive-langgreek/repos/testing-any/PKGBUILD
(from rev 245148, texlive-langgreek/trunk/PKGBUILD)
  texlive-langgreek/repos/testing-any/texlive-langgreek.maps
(from rev 245148, texlive-langgreek/trunk/texlive-langgreek.maps)
  texlive-langgreek/repos/testing-any/texlive.install
(from rev 245148, texlive-langgreek/trunk/texlive.install)

+
 PKGBUILD   |   49 
 texlive-langgreek.maps |5 
 texlive.install|   52 +++
 3 files changed, 106 insertions(+)

Copied: texlive-langgreek/repos/testing-any/PKGBUILD (from rev 245148, 
texlive-langgreek/trunk/PKGBUILD)
===
--- testing-any/PKGBUILD(rev 0)
+++ testing-any/PKGBUILD2015-09-01 10:33:53 UTC (rev 245149)
@@ -0,0 +1,49 @@
+# $Id$
+# Maintainer: Firmicus 
+# Maintainer: Rémy Oudompheng 
+
+pkgname=texlive-langgreek
+pkgver=2015.36842
+_revnr=${pkgver#2015.}
+pkgrel=1
+pkgdesc="TeX Live - Fonts and support for typesetting Greek"
+license=('GPL')
+arch=(any)
+depends=('texlive-core')
+groups=('texlive-lang')
+url='http://tug.org/texlive/'
+source=("https://sources.archlinux.org/other/texlive/$pkgname-$pkgver-src.zip; 
"$pkgname.maps")
+options=('!emptydirs')
+install=texlive.install
+md5sums=('6f6cfad2ae0c37b623a12141f9e20bf6'
+ 'a7d853454158016e29d861aabf9a3e74')
+
+build() {
+   cd "$srcdir"
+   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
+   install -m755 -d $pkgdir/usr/bin
+   ln -s /usr/share/texmf-dist/scripts/mkgrkindex/mkgrkindex 
$pkgdir/usr/bin/mkgrkindex
+}

Copied: texlive-langgreek/repos/testing-any/texlive-langgreek.maps (from rev 
245148, texlive-langgreek/trunk/texlive-langgreek.maps)
===
--- testing-any/texlive-langgreek.maps  (rev 0)
+++ testing-any/texlive-langgreek.maps  2015-09-01 10:33:53 UTC (rev 245149)
@@ -0,0 +1,5 @@
+Map gfsbaskerville.map
+Map gfsporson.map
+Map kerkis.map
+MixedMap cbgreek-full.map
+MixedMap iby.map

Copied: texlive-langgreek/repos/testing-any/texlive.install (from rev 245148, 
texlive-langgreek/trunk/texlive.install)
===
--- testing-any/texlive.install (rev 0)
+++ testing-any/texlive.install 2015-09-01 10:33:53 UTC (rev 245149)
@@ -0,0 +1,52 @@
+PKGNAME="texlive-langgreek"
+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 should go"
+  echo" into /etc/texmf/web2c/updmap-local.cfg"
+  cp usr/share/texmf-dist/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 should go"
+  echo" into /etc/texmf/web2c/updmap-local.cfg"
+  cp usr/share/texmf-dist/web2c/updmap-hdr.cfg $UPDMAP
+  cat var/lib/texmf/arch/installedpkgs/*.maps >> $UPDMAP
+  [ -f "$UPDMAPLOCAL" ] && cat "$UPDMAPLOCAL" >> $UPDMAP
+  

[arch-commits] Commit in texlive-langgreek/repos (4 files)

2014-08-13 Thread Rémy Oudompheng
Date: Thursday, August 14, 2014 @ 01:20:47
  Author: remy
Revision: 219698

archrelease: copy trunk to testing-any

Added:
  texlive-langgreek/repos/testing-any/
  texlive-langgreek/repos/testing-any/PKGBUILD
(from rev 219697, texlive-langgreek/trunk/PKGBUILD)
  texlive-langgreek/repos/testing-any/texlive-langgreek.maps
(from rev 219697, texlive-langgreek/trunk/texlive-langgreek.maps)
  texlive-langgreek/repos/testing-any/texlive.install
(from rev 219697, texlive-langgreek/trunk/texlive.install)

+
 PKGBUILD   |   49 
 texlive-langgreek.maps |5 
 texlive.install|   52 +++
 3 files changed, 106 insertions(+)

Copied: texlive-langgreek/repos/testing-any/PKGBUILD (from rev 219697, 
texlive-langgreek/trunk/PKGBUILD)
===
--- testing-any/PKGBUILD(rev 0)
+++ testing-any/PKGBUILD2014-08-13 23:20:47 UTC (rev 219698)
@@ -0,0 +1,49 @@
+# $Id$
+# Maintainer: Firmicus firmicus āt gmx dōt net
+# Maintainer: Rémy Oudompheng r...@archlinux.org
+
+pkgname=texlive-langgreek
+pkgver=2014.34857
+_revnr=${pkgver#2014.}
+pkgrel=1
+pkgdesc=TeX Live - Fonts and support for typesetting Greek
+license=('GPL')
+arch=(any)
+depends=('texlive-core')
+groups=('texlive-lang')
+url='http://tug.org/texlive/'
+source=(ftp://ftp.archlinux.org/other/texlive/$pkgname-$pkgver-src.zip; 
$pkgname.maps)
+options=('!emptydirs')
+install=texlive.install
+md5sums=('a6a8d443b0b81bb499fdd94768f83e45'
+ 'a7d853454158016e29d861aabf9a3e74')
+
+build() {
+   cd $srcdir
+   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
+   install -m755 -d $pkgdir/usr/bin
+   ln -s /usr/share/texmf-dist/scripts/mkgrkindex/mkgrkindex 
$pkgdir/usr/bin/mkgrkindex
+}

Copied: texlive-langgreek/repos/testing-any/texlive-langgreek.maps (from rev 
219697, texlive-langgreek/trunk/texlive-langgreek.maps)
===
--- testing-any/texlive-langgreek.maps  (rev 0)
+++ testing-any/texlive-langgreek.maps  2014-08-13 23:20:47 UTC (rev 219698)
@@ -0,0 +1,5 @@
+Map gfsbaskerville.map
+Map gfsporson.map
+Map kerkis.map
+MixedMap cbgreek-full.map
+MixedMap iby.map

Copied: texlive-langgreek/repos/testing-any/texlive.install (from rev 219697, 
texlive-langgreek/trunk/texlive.install)
===
--- testing-any/texlive.install (rev 0)
+++ testing-any/texlive.install 2014-08-13 23:20:47 UTC (rev 219698)
@@ -0,0 +1,52 @@
+PKGNAME=texlive-langgreek
+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 should go
+  echo into /etc/texmf/web2c/updmap-local.cfg
+  cp usr/share/texmf-dist/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 should go
+  echo into /etc/texmf/web2c/updmap-local.cfg
+  cp usr/share/texmf-dist/web2c/updmap-hdr.cfg $UPDMAP
+  cat var/lib/texmf/arch/installedpkgs/*.maps  $UPDMAP
+  [ -f $UPDMAPLOCAL ]  cat $UPDMAPLOCAL  $UPDMAP
+  echo texlive: updating the filename database...
+  

[arch-commits] Commit in texlive-langgreek/repos (4 files)

2013-07-02 Thread Rémy Oudompheng
Date: Tuesday, July 2, 2013 @ 23:55:42
  Author: remy
Revision: 189316

archrelease: copy trunk to testing-any

Added:
  texlive-langgreek/repos/testing-any/
  texlive-langgreek/repos/testing-any/PKGBUILD
(from rev 189315, texlive-langgreek/trunk/PKGBUILD)
  texlive-langgreek/repos/testing-any/texlive-langgreek.maps
(from rev 189315, texlive-langgreek/trunk/texlive-langgreek.maps)
  texlive-langgreek/repos/testing-any/texlive.install
(from rev 189315, texlive-langgreek/trunk/texlive.install)

+
 PKGBUILD   |   49 
 texlive-langgreek.maps |5 
 texlive.install|   52 +++
 3 files changed, 106 insertions(+)

Copied: texlive-langgreek/repos/testing-any/PKGBUILD (from rev 189315, 
texlive-langgreek/trunk/PKGBUILD)
===
--- testing-any/PKGBUILD(rev 0)
+++ testing-any/PKGBUILD2013-07-02 21:55:42 UTC (rev 189316)
@@ -0,0 +1,49 @@
+# Maintainer: Firmicus firmicus āt gmx dōt net
+# Maintainer: Rémy Oudompheng r...@archlinux.org
+
+pkgname=texlive-langgreek
+pkgver=2013.30912
+_revnr=${pkgver#2013.}
+pkgrel=1
+pkgdesc=TeX Live - Fonts and support for typesetting Greek
+license=('GPL')
+arch=(any)
+depends=('texlive-core')
+groups=('texlive-lang')
+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=('ffdd809346fcedcf0b81fc625deb030c'
+ 'a7d853454158016e29d861aabf9a3e74')
+
+build() {
+   cd $srcdir
+   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
+   install -m755 -d $pkgdir/usr/bin
+   ln -s /usr/share/texmf-dist/scripts/mkgrkindex/mkgrkindex 
$pkgdir/usr/bin/mkgrkindex
+}

Copied: texlive-langgreek/repos/testing-any/texlive-langgreek.maps (from rev 
189315, texlive-langgreek/trunk/texlive-langgreek.maps)
===
--- testing-any/texlive-langgreek.maps  (rev 0)
+++ testing-any/texlive-langgreek.maps  2013-07-02 21:55:42 UTC (rev 189316)
@@ -0,0 +1,5 @@
+Map gfsbaskerville.map
+Map gfsporson.map
+Map kerkis.map
+MixedMap cbgreek-full.map
+MixedMap iby.map

Copied: texlive-langgreek/repos/testing-any/texlive.install (from rev 189315, 
texlive-langgreek/trunk/texlive.install)
===
--- testing-any/texlive.install (rev 0)
+++ testing-any/texlive.install 2013-07-02 21:55:42 UTC (rev 189316)
@@ -0,0 +1,52 @@
+PKGNAME=texlive-langgreek
+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 should go
+  echo into /etc/texmf/web2c/updmap-local.cfg
+  cp usr/share/texmf-dist/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 should go
+  echo into /etc/texmf/web2c/updmap-local.cfg
+  cp usr/share/texmf-dist/web2c/updmap-hdr.cfg $UPDMAP
+  cat var/lib/texmf/arch/installedpkgs/*.maps  $UPDMAP
+  [ -f $UPDMAPLOCAL ]  cat $UPDMAPLOCAL  $UPDMAP
+  echo texlive: updating the filename database...
+  

[arch-commits] Commit in texlive-langgreek/repos (4 files)

2013-04-18 Thread Rémy Oudompheng
Date: Friday, April 19, 2013 @ 01:51:57
  Author: remy
Revision: 183220

archrelease: copy trunk to testing-any

Added:
  texlive-langgreek/repos/testing-any/
  texlive-langgreek/repos/testing-any/PKGBUILD
(from rev 183219, texlive-langgreek/trunk/PKGBUILD)
  texlive-langgreek/repos/testing-any/texlive-langgreek.maps
(from rev 183219, texlive-langgreek/trunk/texlive-langgreek.maps)
  texlive-langgreek/repos/testing-any/texlive.install
(from rev 183219, texlive-langgreek/trunk/texlive.install)

+
 PKGBUILD   |   49 
 texlive-langgreek.maps |6 +
 texlive.install|   52 +++
 3 files changed, 107 insertions(+)

Copied: texlive-langgreek/repos/testing-any/PKGBUILD (from rev 183219, 
texlive-langgreek/trunk/PKGBUILD)
===
--- testing-any/PKGBUILD(rev 0)
+++ testing-any/PKGBUILD2013-04-18 23:51:57 UTC (rev 183220)
@@ -0,0 +1,49 @@
+# Maintainer: Firmicus firmicus āt gmx dōt net
+# Maintainer: Rémy Oudompheng r...@archlinux.org
+
+pkgname=texlive-langgreek
+pkgver=2012.28327
+_revnr=${pkgver#2012.}
+pkgrel=1
+pkgdesc=TeX Live - Fonts and support for typesetting Greek
+license=('GPL')
+arch=(any)
+depends=('texlive-core')
+groups=('texlive-lang')
+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=('abff9a31d4f83408e40c9581069ae86a'
+ 'a1c515e7bbe93c905e20db580aa5a234')
+
+build() {
+   cd $srcdir
+   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
+   install -m755 -d $pkgdir/usr/bin
+   ln -s /usr/share/texmf-dist/scripts/mkgrkindex/mkgrkindex 
$pkgdir/usr/bin/mkgrkindex
+}

Copied: texlive-langgreek/repos/testing-any/texlive-langgreek.maps (from rev 
183219, texlive-langgreek/trunk/texlive-langgreek.maps)
===
--- testing-any/texlive-langgreek.maps  (rev 0)
+++ testing-any/texlive-langgreek.maps  2013-04-18 23:51:57 UTC (rev 183220)
@@ -0,0 +1,6 @@
+Map gfsbaskerville.map
+Map gfsporson.map
+Map grverb.map
+Map kerkis.map
+MixedMap cbgreek-full.map
+MixedMap iby.map

Copied: texlive-langgreek/repos/testing-any/texlive.install (from rev 183219, 
texlive-langgreek/trunk/texlive.install)
===
--- testing-any/texlive.install (rev 0)
+++ testing-any/texlive.install 2013-04-18 23:51:57 UTC (rev 183220)
@@ -0,0 +1,52 @@
+PKGNAME=texlive-langgreek
+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 should 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 should 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...
+  

[arch-commits] Commit in texlive-langgreek/repos (4 files)

2012-11-18 Thread Rémy Oudompheng
Date: Monday, November 19, 2012 @ 02:38:56
  Author: remy
Revision: 171572

archrelease: copy trunk to testing-any

Added:
  texlive-langgreek/repos/testing-any/
  texlive-langgreek/repos/testing-any/PKGBUILD
(from rev 171571, texlive-langgreek/trunk/PKGBUILD)
  texlive-langgreek/repos/testing-any/texlive-langgreek.maps
(from rev 171571, texlive-langgreek/trunk/texlive-langgreek.maps)
  texlive-langgreek/repos/testing-any/texlive.install
(from rev 171571, texlive-langgreek/trunk/texlive.install)

+
 PKGBUILD   |   49 
 texlive-langgreek.maps |6 +
 texlive.install|   52 +++
 3 files changed, 107 insertions(+)

Copied: texlive-langgreek/repos/testing-any/PKGBUILD (from rev 171571, 
texlive-langgreek/trunk/PKGBUILD)
===
--- testing-any/PKGBUILD(rev 0)
+++ testing-any/PKGBUILD2012-11-19 07:38:56 UTC (rev 171572)
@@ -0,0 +1,49 @@
+# Maintainer: Firmicus firmicus āt gmx dōt net
+# Maintainer: Rémy Oudompheng r...@archlinux.org
+
+pkgname=texlive-langgreek
+pkgver=2012.27651
+_revnr=${pkgver#2012.}
+pkgrel=1
+pkgdesc=TeX Live - Fonts and support for typesetting Greek
+license=('GPL')
+arch=(any)
+depends=('texlive-core')
+groups=('texlive-lang')
+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=('8261821bf31696475e964aa5c19d0390'
+ 'a1c515e7bbe93c905e20db580aa5a234')
+
+build() {
+   cd $srcdir
+   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
+   install -m755 -d $pkgdir/usr/bin
+   ln -s /usr/share/texmf-dist/scripts/mkgrkindex/mkgrkindex 
$pkgdir/usr/bin/mkgrkindex
+}

Copied: texlive-langgreek/repos/testing-any/texlive-langgreek.maps (from rev 
171571, texlive-langgreek/trunk/texlive-langgreek.maps)
===
--- testing-any/texlive-langgreek.maps  (rev 0)
+++ testing-any/texlive-langgreek.maps  2012-11-19 07:38:56 UTC (rev 171572)
@@ -0,0 +1,6 @@
+Map gfsbaskerville.map
+Map gfsporson.map
+Map grverb.map
+Map kerkis.map
+MixedMap cbgreek-full.map
+MixedMap iby.map

Copied: texlive-langgreek/repos/testing-any/texlive.install (from rev 171571, 
texlive-langgreek/trunk/texlive.install)
===
--- testing-any/texlive.install (rev 0)
+++ testing-any/texlive.install 2012-11-19 07:38:56 UTC (rev 171572)
@@ -0,0 +1,52 @@
+PKGNAME=texlive-langgreek
+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 should 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 should 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...

[arch-commits] Commit in texlive-langgreek/repos (4 files)

2012-06-26 Thread Rémy Oudompheng
Date: Tuesday, June 26, 2012 @ 16:21:50
  Author: remy
Revision: 162412

archrelease: copy trunk to testing-any

Added:
  texlive-langgreek/repos/testing-any/
  texlive-langgreek/repos/testing-any/PKGBUILD
(from rev 162411, texlive-langgreek/trunk/PKGBUILD)
  texlive-langgreek/repos/testing-any/texlive-langgreek.maps
(from rev 162411, texlive-langgreek/trunk/texlive-langgreek.maps)
  texlive-langgreek/repos/testing-any/texlive.install
(from rev 162411, texlive-langgreek/trunk/texlive.install)

+
 PKGBUILD   |   49 
 texlive-langgreek.maps |6 +
 texlive.install|   52 +++
 3 files changed, 107 insertions(+)

Copied: texlive-langgreek/repos/testing-any/PKGBUILD (from rev 162411, 
texlive-langgreek/trunk/PKGBUILD)
===
--- testing-any/PKGBUILD(rev 0)
+++ testing-any/PKGBUILD2012-06-26 20:21:50 UTC (rev 162412)
@@ -0,0 +1,49 @@
+# Maintainer: Firmicus firmicus āt gmx dōt net
+# Maintainer: Rémy Oudompheng r...@archlinux.org
+
+pkgname=texlive-langgreek
+pkgver=2012.26313
+_revnr=${pkgver#2012.}
+pkgrel=1
+pkgdesc=TeX Live - Fonts and support for typesetting Greek
+license=('GPL')
+arch=(any)
+depends=('texlive-core')
+groups=('texlive-lang')
+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=('2ac95627dcf47330ed3adafb3573b8bd'
+ 'a1c515e7bbe93c905e20db580aa5a234')
+
+build() {
+   cd $srcdir
+   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
+   install -m755 -d $pkgdir/usr/bin
+   ln -s /usr/share/texmf-dist/scripts/mkgrkindex/mkgrkindex 
$pkgdir/usr/bin/mkgrkindex
+}

Copied: texlive-langgreek/repos/testing-any/texlive-langgreek.maps (from rev 
162411, texlive-langgreek/trunk/texlive-langgreek.maps)
===
--- testing-any/texlive-langgreek.maps  (rev 0)
+++ testing-any/texlive-langgreek.maps  2012-06-26 20:21:50 UTC (rev 162412)
@@ -0,0 +1,6 @@
+Map gfsbaskerville.map
+Map gfsporson.map
+Map grverb.map
+Map kerkis.map
+MixedMap cbgreek-full.map
+MixedMap iby.map

Copied: texlive-langgreek/repos/testing-any/texlive.install (from rev 162411, 
texlive-langgreek/trunk/texlive.install)
===
--- testing-any/texlive.install (rev 0)
+++ testing-any/texlive.install 2012-06-26 20:21:50 UTC (rev 162412)
@@ -0,0 +1,52 @@
+PKGNAME=texlive-langgreek
+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...
+  

[arch-commits] Commit in texlive-langgreek/repos (4 files)

2011-12-04 Thread Rémy Oudompheng
Date: Sunday, December 4, 2011 @ 12:53:03
  Author: remy
Revision: 144322

archrelease: copy trunk to testing-any

Added:
  texlive-langgreek/repos/testing-any/
  texlive-langgreek/repos/testing-any/PKGBUILD
(from rev 144321, texlive-langgreek/trunk/PKGBUILD)
  texlive-langgreek/repos/testing-any/texlive-langgreek.maps
(from rev 144321, texlive-langgreek/trunk/texlive-langgreek.maps)
  texlive-langgreek/repos/testing-any/texlive.install
(from rev 144321, texlive-langgreek/trunk/texlive.install)

+
 PKGBUILD   |   48 +++
 texlive-langgreek.maps |6 +
 texlive.install|   52 +++
 3 files changed, 106 insertions(+)

Copied: texlive-langgreek/repos/testing-any/PKGBUILD (from rev 144321, 
texlive-langgreek/trunk/PKGBUILD)
===
--- testing-any/PKGBUILD(rev 0)
+++ testing-any/PKGBUILD2011-12-04 17:53:03 UTC (rev 144322)
@@ -0,0 +1,48 @@
+# Maintainer: Firmicus firmicus āt gmx dōt net
+# Maintainer: Rémy Oudompheng r...@archlinux.org
+
+pkgname=texlive-langgreek
+pkgver=2011.24147
+_revnr=${pkgver#2011.}
+pkgrel=1
+pkgdesc=TeX Live - Fonts and support for typesetting Greek
+license=('GPL')
+arch=(any)
+depends=('texlive-core')
+groups=('texlive-lang')
+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=('e4abdabdd7e5ad966610d856da8c6a70'
+ 'a1c515e7bbe93c905e20db580aa5a234')
+
+build() {
+   bsdtar xf $pkgname-$pkgver-src.zip
+   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
+   install -m755 -d $pkgdir/usr/bin
+   ln -s /usr/share/texmf-dist/scripts/mkgrkindex/mkgrkindex 
$pkgdir/usr/bin/mkgrkindex
+}

Copied: texlive-langgreek/repos/testing-any/texlive-langgreek.maps (from rev 
144321, texlive-langgreek/trunk/texlive-langgreek.maps)
===
--- testing-any/texlive-langgreek.maps  (rev 0)
+++ testing-any/texlive-langgreek.maps  2011-12-04 17:53:03 UTC (rev 144322)
@@ -0,0 +1,6 @@
+Map gfsbaskerville.map
+Map gfsporson.map
+Map grverb.map
+Map kerkis.map
+MixedMap cbgreek-full.map
+MixedMap iby.map

Copied: texlive-langgreek/repos/testing-any/texlive.install (from rev 144321, 
texlive-langgreek/trunk/texlive.install)
===
--- testing-any/texlive.install (rev 0)
+++ testing-any/texlive.install 2011-12-04 17:53:03 UTC (rev 144322)
@@ -0,0 +1,52 @@
+PKGNAME=texlive-langgreek
+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