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

2020-04-02 Thread Rémy Oudompheng via arch-commits
Date: Thursday, April 2, 2020 @ 06:55:41
  Author: remy
Revision: 379122

archrelease: copy trunk to testing-any

Added:
  texlive-science/repos/testing-any/
  texlive-science/repos/testing-any/PKGBUILD
(from rev 379121, texlive-science/trunk/PKGBUILD)
  texlive-science/repos/testing-any/texlive-science.fmts
(from rev 379121, texlive-science/trunk/texlive-science.fmts)
  texlive-science/repos/testing-any/texlive-science.maps
(from rev 379121, texlive-science/trunk/texlive-science.maps)

--+
 PKGBUILD |   51 +
 texlive-science.fmts |1 
 texlive-science.maps |3 ++
 3 files changed, 55 insertions(+)

Copied: texlive-science/repos/testing-any/PKGBUILD (from rev 379121, 
texlive-science/trunk/PKGBUILD)
===
--- testing-any/PKGBUILD(rev 0)
+++ testing-any/PKGBUILD2020-04-02 06:55:41 UTC (rev 379122)
@@ -0,0 +1,51 @@
+# Maintainer: Rémy Oudompheng 
+
+pkgname=texlive-science
+pkgver=2020.54588
+_revnr=${pkgver#2020.}
+pkgrel=1
+pkgdesc="TeX Live - Typesetting for mathematics, natural and computer sciences"
+license=('GPL')
+arch=(any)
+depends=('texlive-core')
+groups=('texlive-most')
+url='http://tug.org/texlive/'
+source=("https://sources.archlinux.org/other/texlive/$pkgname-$pkgver-src.zip;
+"$pkgname.maps"
+"$pkgname.fmts")
+options=('!emptydirs')
+sha256sums=('4d03ec38b71f09eacbeefa35e56303b735120b2379c7f848f3fc6db090e9a858'
+'1d9151c9cabc3521b4406731b0147d80e0bf600bdedaf55a1a49b8775165daa8'
+'1cbd5339f8cfa32214a749a408cf7136fd5acffaffcde6500a337d332c70c5c3')
+
+build() {
+   cd "$srcdir"
+   for p in *.tar.xz; do
+  bsdtar -xf $p
+   done
+   rm -rf {tlpkg,doc,source} || true
+}
+
+package() {
+   cd "$srcdir"
+   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 -m644 $pkgname.fmts "$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/ulqda/ulqda.pl "$pkgdir"/usr/bin/ulqda
+}

Copied: texlive-science/repos/testing-any/texlive-science.fmts (from rev 
379121, texlive-science/trunk/texlive-science.fmts)
===
--- testing-any/texlive-science.fmts(rev 0)
+++ testing-any/texlive-science.fmts2020-04-02 06:55:41 UTC (rev 379122)
@@ -0,0 +1 @@
+amstex pdftex - -translate-file=cp227.tcx *amstex.ini

Copied: texlive-science/repos/testing-any/texlive-science.maps (from rev 
379121, texlive-science/trunk/texlive-science.maps)
===
--- testing-any/texlive-science.maps(rev 0)
+++ testing-any/texlive-science.maps2020-04-02 06:55:41 UTC (rev 379122)
@@ -0,0 +1,3 @@
+Map chemarrow.map
+MixedMap stmaryrd.map
+MixedMap yhmath.map


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

2019-05-11 Thread Rémy Oudompheng via arch-commits
Date: Saturday, May 11, 2019 @ 21:14:41
  Author: remy
Revision: 352892

archrelease: copy trunk to testing-any

Added:
  texlive-science/repos/testing-any/
  texlive-science/repos/testing-any/PKGBUILD
(from rev 352891, texlive-science/trunk/PKGBUILD)
  texlive-science/repos/testing-any/texlive-science.fmts
(from rev 352891, texlive-science/trunk/texlive-science.fmts)
  texlive-science/repos/testing-any/texlive-science.maps
(from rev 352891, texlive-science/trunk/texlive-science.maps)

--+
 PKGBUILD |   51 +
 texlive-science.fmts |1 
 texlive-science.maps |3 ++
 3 files changed, 55 insertions(+)

Copied: texlive-science/repos/testing-any/PKGBUILD (from rev 352891, 
texlive-science/trunk/PKGBUILD)
===
--- testing-any/PKGBUILD(rev 0)
+++ testing-any/PKGBUILD2019-05-11 21:14:41 UTC (rev 352892)
@@ -0,0 +1,51 @@
+# Maintainer: Rémy Oudompheng 
+
+pkgname=texlive-science
+pkgver=2019.50760
+_revnr=${pkgver#2019.}
+pkgrel=1
+pkgdesc="TeX Live - Typesetting for mathematics, natural and computer sciences"
+license=('GPL')
+arch=(any)
+depends=('texlive-core')
+groups=('texlive-most')
+url='http://tug.org/texlive/'
+source=("https://sources.archlinux.org/other/texlive/$pkgname-$pkgver-src.zip;
+"$pkgname.maps"
+"$pkgname.fmts")
+options=('!emptydirs')
+sha256sums=('21646a676a4a96e4fbfd248cc9f836239269962b043ee586a641f984fe8b7404'
+'1d9151c9cabc3521b4406731b0147d80e0bf600bdedaf55a1a49b8775165daa8'
+'1cbd5339f8cfa32214a749a408cf7136fd5acffaffcde6500a337d332c70c5c3')
+
+build() {
+   cd "$srcdir"
+   for p in *.tar.xz; do
+  bsdtar -xf $p
+   done
+   rm -rf {tlpkg,doc,source} || true
+}
+
+package() {
+   cd "$srcdir"
+   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 -m644 $pkgname.fmts $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/ulqda/ulqda.pl $pkgdir/usr/bin/ulqda
+}

Copied: texlive-science/repos/testing-any/texlive-science.fmts (from rev 
352891, texlive-science/trunk/texlive-science.fmts)
===
--- testing-any/texlive-science.fmts(rev 0)
+++ testing-any/texlive-science.fmts2019-05-11 21:14:41 UTC (rev 352892)
@@ -0,0 +1 @@
+amstex pdftex - -translate-file=cp227.tcx *amstex.ini

Copied: texlive-science/repos/testing-any/texlive-science.maps (from rev 
352891, texlive-science/trunk/texlive-science.maps)
===
--- testing-any/texlive-science.maps(rev 0)
+++ testing-any/texlive-science.maps2019-05-11 21:14:41 UTC (rev 352892)
@@ -0,0 +1,3 @@
+Map chemarrow.map
+MixedMap stmaryrd.map
+MixedMap yhmath.map


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

2018-04-29 Thread Rémy Oudompheng via arch-commits
Date: Sunday, April 29, 2018 @ 22:39:07
  Author: remy
Revision: 323160

archrelease: copy trunk to testing-any

Added:
  texlive-science/repos/testing-any/
  texlive-science/repos/testing-any/PKGBUILD
(from rev 323159, texlive-science/trunk/PKGBUILD)
  texlive-science/repos/testing-any/texlive-science.fmts
(from rev 323159, texlive-science/trunk/texlive-science.fmts)
  texlive-science/repos/testing-any/texlive-science.maps
(from rev 323159, texlive-science/trunk/texlive-science.maps)

--+
 PKGBUILD |   54 +
 texlive-science.fmts |1 
 texlive-science.maps |3 ++
 3 files changed, 58 insertions(+)

Copied: texlive-science/repos/testing-any/PKGBUILD (from rev 323159, 
texlive-science/trunk/PKGBUILD)
===
--- testing-any/PKGBUILD(rev 0)
+++ testing-any/PKGBUILD2018-04-29 22:39:07 UTC (rev 323160)
@@ -0,0 +1,54 @@
+# $Id: PKGBUILD$
+# Maintainer: Rémy Oudompheng 
+
+pkgname=texlive-science
+pkgver=2018.47412
+_revnr=${pkgver#2018.}
+pkgrel=1
+pkgdesc="TeX Live - Typesetting for mathematics, natural and computer sciences"
+license=('GPL')
+arch=(any)
+depends=('texlive-core')
+optdepends=('python2-pygments: for pygmentex')
+groups=('texlive-most')
+url='http://tug.org/texlive/'
+source=("https://sources.archlinux.org/other/texlive/$pkgname-$pkgver-src.zip;
+"$pkgname.maps"
+"$pkgname.fmts")
+options=('!emptydirs')
+sha256sums=('e53cd087583008a67b96b37711831a23fb1202780bf18b021bafd51169429df9'
+'1d9151c9cabc3521b4406731b0147d80e0bf600bdedaf55a1a49b8775165daa8'
+'1cbd5339f8cfa32214a749a408cf7136fd5acffaffcde6500a337d332c70c5c3')
+
+build() {
+   cd "$srcdir"
+   for p in *.tar.xz; do
+  bsdtar -xf $p
+   done
+   rm -rf {tlpkg,doc,source} || true
+}
+
+package() {
+   cd "$srcdir"
+   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 -m644 $pkgname.fmts $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/pygmentex/pygmentex.py 
$pkgdir/usr/bin/pygmentex
+   ln -s /usr/share/texmf-dist/scripts/ulqda/ulqda.pl $pkgdir/usr/bin/ulqda
+}

Copied: texlive-science/repos/testing-any/texlive-science.fmts (from rev 
323159, texlive-science/trunk/texlive-science.fmts)
===
--- testing-any/texlive-science.fmts(rev 0)
+++ testing-any/texlive-science.fmts2018-04-29 22:39:07 UTC (rev 323160)
@@ -0,0 +1 @@
+amstex pdftex - -translate-file=cp227.tcx *amstex.ini

Copied: texlive-science/repos/testing-any/texlive-science.maps (from rev 
323159, texlive-science/trunk/texlive-science.maps)
===
--- testing-any/texlive-science.maps(rev 0)
+++ testing-any/texlive-science.maps2018-04-29 22:39:07 UTC (rev 323160)
@@ -0,0 +1,3 @@
+Map chemarrow.map
+MixedMap stmaryrd.map
+MixedMap yhmath.map


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

2017-06-20 Thread Rémy Oudompheng
Date: Tuesday, June 20, 2017 @ 06:10:47
  Author: remy
Revision: 299023

archrelease: copy trunk to testing-any

Added:
  texlive-science/repos/testing-any/
  texlive-science/repos/testing-any/PKGBUILD
(from rev 299022, texlive-science/trunk/PKGBUILD)
  texlive-science/repos/testing-any/texlive-science.fmts
(from rev 299022, texlive-science/trunk/texlive-science.fmts)
  texlive-science/repos/testing-any/texlive-science.maps
(from rev 299022, texlive-science/trunk/texlive-science.maps)

--+
 PKGBUILD |   54 +
 texlive-science.fmts |1 
 texlive-science.maps |3 ++
 3 files changed, 58 insertions(+)

Copied: texlive-science/repos/testing-any/PKGBUILD (from rev 299022, 
texlive-science/trunk/PKGBUILD)
===
--- testing-any/PKGBUILD(rev 0)
+++ testing-any/PKGBUILD2017-06-20 06:10:47 UTC (rev 299023)
@@ -0,0 +1,54 @@
+# $Id: PKGBUILD$
+# Maintainer: Rémy Oudompheng 
+
+pkgname=texlive-science
+pkgver=2017.44478
+_revnr=${pkgver#2017.}
+pkgrel=1
+pkgdesc="TeX Live - Typesetting for mathematics, natural and computer sciences"
+license=('GPL')
+arch=(any)
+depends=('texlive-core')
+optdepends=('python2-pygments: for pygmentex')
+groups=('texlive-most')
+url='http://tug.org/texlive/'
+source=("https://sources.archlinux.org/other/texlive/$pkgname-$pkgver-src.zip;
+"$pkgname.maps"
+"$pkgname.fmts")
+options=('!emptydirs')
+sha256sums=('e44d4ce8a0f7a21c524a39ffd833973bcd5fb7c41e538da87191809e2df267e7'
+'1d9151c9cabc3521b4406731b0147d80e0bf600bdedaf55a1a49b8775165daa8'
+'1cbd5339f8cfa32214a749a408cf7136fd5acffaffcde6500a337d332c70c5c3')
+
+build() {
+   cd "$srcdir"
+   for p in *.tar.xz; do
+  bsdtar -xf $p
+   done
+   rm -rf {tlpkg,doc,source} || true
+}
+
+package() {
+   cd "$srcdir"
+   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 -m644 $pkgname.fmts $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/pygmentex/pygmentex.py 
$pkgdir/usr/bin/pygmentex
+   ln -s /usr/share/texmf-dist/scripts/ulqda/ulqda.pl $pkgdir/usr/bin/ulqda
+}

Copied: texlive-science/repos/testing-any/texlive-science.fmts (from rev 
299022, texlive-science/trunk/texlive-science.fmts)
===
--- testing-any/texlive-science.fmts(rev 0)
+++ testing-any/texlive-science.fmts2017-06-20 06:10:47 UTC (rev 299023)
@@ -0,0 +1 @@
+amstex pdftex - -translate-file=cp227.tcx *amstex.ini

Copied: texlive-science/repos/testing-any/texlive-science.maps (from rev 
299022, texlive-science/trunk/texlive-science.maps)
===
--- testing-any/texlive-science.maps(rev 0)
+++ testing-any/texlive-science.maps2017-06-20 06:10:47 UTC (rev 299023)
@@ -0,0 +1,3 @@
+Map chemarrow.map
+MixedMap stmaryrd.map
+MixedMap yhmath.map


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

2016-06-19 Thread Rémy Oudompheng
Date: Sunday, June 19, 2016 @ 22:29:41
  Author: remy
Revision: 270211

archrelease: copy trunk to testing-any

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

--+
 PKGBUILD |   51 
 texlive-science.maps |1 
 texlive.install  |   52 +
 3 files changed, 104 insertions(+)

Copied: texlive-science/repos/testing-any/PKGBUILD (from rev 270210, 
texlive-science/trunk/PKGBUILD)
===
--- testing-any/PKGBUILD(rev 0)
+++ testing-any/PKGBUILD2016-06-19 22:29:41 UTC (rev 270211)
@@ -0,0 +1,51 @@
+# $Id: PKGBUILD$
+# Maintainer: Rémy Oudompheng 
+
+pkgname=texlive-science
+pkgver=2016.41327
+_revnr=${pkgver#2016.}
+pkgrel=1
+pkgdesc="TeX Live - Typesetting for natural and computer sciences"
+license=('GPL')
+arch=(any)
+depends=('texlive-core')
+optdepends=('python2-pygments: for pygmentex')
+groups=('texlive-most')
+url='http://tug.org/texlive/'
+source=("https://sources.archlinux.org/other/texlive/$pkgname-$pkgver-src.zip; 
"$pkgname.maps")
+options=('!emptydirs')
+install=texlive.install
+md5sums=('2757b93bd83971de390536194c1d7b5d'
+ '72206bb981d3d491df018e0e13334be5')
+
+build() {
+   cd "$srcdir"
+   for p in *.tar.xz; do
+  bsdtar -xf $p
+   done
+   rm -rf {tlpkg,doc,source} || true
+}
+
+package() {
+   cd "$srcdir"
+   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/pygmentex/pygmentex.py 
$pkgdir/usr/bin/pygmentex
+   ln -s /usr/share/texmf-dist/scripts/ulqda/ulqda.pl $pkgdir/usr/bin/ulqda
+}

Copied: texlive-science/repos/testing-any/texlive-science.maps (from rev 
270210, texlive-science/trunk/texlive-science.maps)
===
--- testing-any/texlive-science.maps(rev 0)
+++ testing-any/texlive-science.maps2016-06-19 22:29:41 UTC (rev 270211)
@@ -0,0 +1 @@
+Map chemarrow.map

Copied: texlive-science/repos/testing-any/texlive.install (from rev 270210, 
texlive-science/trunk/texlive.install)
===
--- testing-any/texlive.install (rev 0)
+++ testing-any/texlive.install 2016-06-19 22:29:41 UTC (rev 270211)
@@ -0,0 +1,52 @@
+PKGNAME="texlive-science"
+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-science/repos (4 files)

2015-09-01 Thread Rémy Oudompheng
Date: Tuesday, September 1, 2015 @ 12:28:30
  Author: remy
Revision: 245131

archrelease: copy trunk to testing-any

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

--+
 PKGBUILD |   51 
 texlive-science.maps |1 
 texlive.install  |   52 +
 3 files changed, 104 insertions(+)

Copied: texlive-science/repos/testing-any/PKGBUILD (from rev 245130, 
texlive-science/trunk/PKGBUILD)
===
--- testing-any/PKGBUILD(rev 0)
+++ testing-any/PKGBUILD2015-09-01 10:28:30 UTC (rev 245131)
@@ -0,0 +1,51 @@
+# $Id: PKGBUILD$
+# Maintainer: Rémy Oudompheng 
+
+pkgname=texlive-science
+pkgver=2015.37382
+_revnr=${pkgver#2015.}
+pkgrel=1
+pkgdesc="TeX Live - Typesetting for natural and computer sciences"
+license=('GPL')
+arch=(any)
+depends=('texlive-core')
+optdepends=('python2-pygments: for pygmentex')
+groups=('texlive-most')
+url='http://tug.org/texlive/'
+source=("https://sources.archlinux.org/other/texlive/$pkgname-$pkgver-src.zip; 
"$pkgname.maps")
+options=('!emptydirs')
+install=texlive.install
+md5sums=('2c6f7cb7801e1dfa7baf8b10d2c319c9'
+ '72206bb981d3d491df018e0e13334be5')
+
+build() {
+   cd "$srcdir"
+   for p in *.tar.xz; do
+  bsdtar -xf $p
+   done
+   rm -rf {tlpkg,doc,source} || true
+}
+
+package() {
+   cd "$srcdir"
+   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/pygmentex/pygmentex.py 
$pkgdir/usr/bin/pygmentex
+   ln -s /usr/share/texmf-dist/scripts/ulqda/ulqda.pl $pkgdir/usr/bin/ulqda
+}

Copied: texlive-science/repos/testing-any/texlive-science.maps (from rev 
245130, texlive-science/trunk/texlive-science.maps)
===
--- testing-any/texlive-science.maps(rev 0)
+++ testing-any/texlive-science.maps2015-09-01 10:28:30 UTC (rev 245131)
@@ -0,0 +1 @@
+Map chemarrow.map

Copied: texlive-science/repos/testing-any/texlive.install (from rev 245130, 
texlive-science/trunk/texlive.install)
===
--- testing-any/texlive.install (rev 0)
+++ testing-any/texlive.install 2015-09-01 10:28:30 UTC (rev 245131)
@@ -0,0 +1,52 @@
+PKGNAME="texlive-science"
+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-science/repos (4 files)

2014-08-13 Thread Rémy Oudompheng
Date: Thursday, August 14, 2014 @ 01:10:29
  Author: remy
Revision: 219680

archrelease: copy trunk to testing-any

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

--+
 PKGBUILD |   49 ++
 texlive-science.maps |1 
 texlive.install  |   52 +
 3 files changed, 102 insertions(+)

Copied: texlive-science/repos/testing-any/PKGBUILD (from rev 219679, 
texlive-science/trunk/PKGBUILD)
===
--- testing-any/PKGBUILD(rev 0)
+++ testing-any/PKGBUILD2014-08-13 23:10:29 UTC (rev 219680)
@@ -0,0 +1,49 @@
+# $Id: PKGBUILD$
+# Maintainer: Rémy Oudompheng r...@archlinux.org
+
+pkgname=texlive-science
+pkgver=2014.34853
+_revnr=${pkgver#2014.}
+pkgrel=1
+pkgdesc=TeX Live - Typesetting for natural and computer sciences
+license=('GPL')
+arch=(any)
+depends=('texlive-core')
+groups=('texlive-most')
+url='http://tug.org/texlive/'
+source=(ftp://ftp.archlinux.org/other/texlive/$pkgname-$pkgver-src.zip; 
$pkgname.maps)
+options=('!emptydirs')
+install=texlive.install
+md5sums=('1d69b563c3ab63132144ee52f6644adc'
+ '72206bb981d3d491df018e0e13334be5')
+
+build() {
+   cd $srcdir
+   for p in *.tar.xz; do
+  bsdtar -xf $p
+   done
+   rm -rf {tlpkg,doc,source} || true
+}
+
+package() {
+   cd $srcdir
+   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/ulqda/ulqda.pl $pkgdir/usr/bin/ulqda
+}

Copied: texlive-science/repos/testing-any/texlive-science.maps (from rev 
219679, texlive-science/trunk/texlive-science.maps)
===
--- testing-any/texlive-science.maps(rev 0)
+++ testing-any/texlive-science.maps2014-08-13 23:10:29 UTC (rev 219680)
@@ -0,0 +1 @@
+Map chemarrow.map

Copied: texlive-science/repos/testing-any/texlive.install (from rev 219679, 
texlive-science/trunk/texlive.install)
===
--- testing-any/texlive.install (rev 0)
+++ testing-any/texlive.install 2014-08-13 23:10:29 UTC (rev 219680)
@@ -0,0 +1,52 @@
+PKGNAME=texlive-science
+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...
+  usr/bin/mktexlsr
+  echo texlive: updating the fontmap files with updmap...
+  usr/bin/updmap-sys --quiet --nohash $SYNCWITHTREES
+  echo done. 
+}
+
+pre_remove() {

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

2013-07-02 Thread Rémy Oudompheng
Date: Tuesday, July 2, 2013 @ 23:56:11
  Author: remy
Revision: 189323

archrelease: copy trunk to testing-any

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

--+
 PKGBUILD |   49 ++
 texlive-science.maps |1 
 texlive.install  |   52 +
 3 files changed, 102 insertions(+)

Copied: texlive-science/repos/testing-any/PKGBUILD (from rev 189322, 
texlive-science/trunk/PKGBUILD)
===
--- testing-any/PKGBUILD(rev 0)
+++ testing-any/PKGBUILD2013-07-02 21:56:11 UTC (rev 189323)
@@ -0,0 +1,49 @@
+# Maintainer: Rémy Oudompheng r...@archlinux.org
+
+pkgname=texlive-science
+pkgver=2013.30910
+_revnr=${pkgver#2013.}
+pkgrel=1
+pkgdesc=TeX Live - Typesetting for natural and computer sciences
+license=('GPL')
+arch=(any)
+depends=('texlive-core')
+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=('07cb21125f64becb317f2cbe77cb1086'
+ '72206bb981d3d491df018e0e13334be5')
+
+build() {
+   cd $srcdir
+   for p in *.tar.xz; do
+  bsdtar -xf $p
+   done
+   rm -rf {tlpkg,doc,source} || true
+}
+
+package() {
+   cd $srcdir
+   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/ulqda/ulqda.pl $pkgdir/usr/bin/ulqda
+}

Copied: texlive-science/repos/testing-any/texlive-science.maps (from rev 
189322, texlive-science/trunk/texlive-science.maps)
===
--- testing-any/texlive-science.maps(rev 0)
+++ testing-any/texlive-science.maps2013-07-02 21:56:11 UTC (rev 189323)
@@ -0,0 +1 @@
+Map chemarrow.map

Copied: texlive-science/repos/testing-any/texlive.install (from rev 189322, 
texlive-science/trunk/texlive.install)
===
--- testing-any/texlive.install (rev 0)
+++ testing-any/texlive.install 2013-07-02 21:56:11 UTC (rev 189323)
@@ -0,0 +1,52 @@
+PKGNAME=texlive-science
+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...
+  usr/bin/mktexlsr
+  echo texlive: updating the fontmap files with updmap...
+  usr/bin/updmap-sys --quiet --nohash $SYNCWITHTREES
+  echo done. 
+}
+
+pre_remove() {
+for m 

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

2013-04-18 Thread Rémy Oudompheng
Date: Friday, April 19, 2013 @ 01:54:43
  Author: remy
Revision: 183234

archrelease: copy trunk to testing-any

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

--+
 PKGBUILD |   49 ++
 texlive-science.maps |1 
 texlive.install  |   52 +
 3 files changed, 102 insertions(+)

Copied: texlive-science/repos/testing-any/PKGBUILD (from rev 183233, 
texlive-science/trunk/PKGBUILD)
===
--- testing-any/PKGBUILD(rev 0)
+++ testing-any/PKGBUILD2013-04-18 23:54:43 UTC (rev 183234)
@@ -0,0 +1,49 @@
+# Maintainer: Rémy Oudompheng r...@archlinux.org
+
+pkgname=texlive-science
+pkgver=2012.29684
+_revnr=${pkgver#2012.}
+pkgrel=1
+pkgdesc=TeX Live - Typesetting for natural and computer sciences
+license=('GPL')
+arch=(any)
+depends=('texlive-core')
+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=('331d9af17ba70c0da31b02bfefb87701'
+ '72206bb981d3d491df018e0e13334be5')
+
+build() {
+   cd $srcdir
+   for p in *.tar.xz; do
+  bsdtar -xf $p
+   done
+   rm -rf {tlpkg,doc,source} || true
+}
+
+package() {
+   cd $srcdir
+   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/ulqda/ulqda.pl $pkgdir/usr/bin/ulqda
+}

Copied: texlive-science/repos/testing-any/texlive-science.maps (from rev 
183233, texlive-science/trunk/texlive-science.maps)
===
--- testing-any/texlive-science.maps(rev 0)
+++ testing-any/texlive-science.maps2013-04-18 23:54:43 UTC (rev 183234)
@@ -0,0 +1 @@
+Map chemarrow.map

Copied: texlive-science/repos/testing-any/texlive.install (from rev 183233, 
texlive-science/trunk/texlive.install)
===
--- testing-any/texlive.install (rev 0)
+++ testing-any/texlive.install 2013-04-18 23:54:43 UTC (rev 183234)
@@ -0,0 +1,52 @@
+PKGNAME=texlive-science
+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...
+  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 

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

2012-11-18 Thread Rémy Oudompheng
Date: Monday, November 19, 2012 @ 02:28:59
  Author: remy
Revision: 171558

archrelease: copy trunk to testing-any

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

--+
 PKGBUILD |   49 ++
 texlive-science.maps |1 
 texlive.install  |   52 +
 3 files changed, 102 insertions(+)

Copied: texlive-science/repos/testing-any/PKGBUILD (from rev 171557, 
texlive-science/trunk/PKGBUILD)
===
--- testing-any/PKGBUILD(rev 0)
+++ testing-any/PKGBUILD2012-11-19 07:28:59 UTC (rev 171558)
@@ -0,0 +1,49 @@
+# Maintainer: Rémy Oudompheng r...@archlinux.org
+
+pkgname=texlive-science
+pkgver=2012.28263
+_revnr=${pkgver#2012.}
+pkgrel=1
+pkgdesc=TeX Live - Typesetting for natural and computer sciences
+license=('GPL')
+arch=(any)
+depends=('texlive-core')
+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=('c714585b19e338763cd167d596ccc942'
+ '72206bb981d3d491df018e0e13334be5')
+
+build() {
+   cd $srcdir
+   for p in *.tar.xz; do
+  bsdtar -xf $p
+   done
+   rm -rf {tlpkg,doc,source} || true
+}
+
+package() {
+   cd $srcdir
+   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/ulqda/ulqda.pl $pkgdir/usr/bin/ulqda
+}

Copied: texlive-science/repos/testing-any/texlive-science.maps (from rev 
171557, texlive-science/trunk/texlive-science.maps)
===
--- testing-any/texlive-science.maps(rev 0)
+++ testing-any/texlive-science.maps2012-11-19 07:28:59 UTC (rev 171558)
@@ -0,0 +1 @@
+Map chemarrow.map

Copied: texlive-science/repos/testing-any/texlive.install (from rev 171557, 
texlive-science/trunk/texlive.install)
===
--- testing-any/texlive.install (rev 0)
+++ testing-any/texlive.install 2012-11-19 07:28:59 UTC (rev 171558)
@@ -0,0 +1,52 @@
+PKGNAME=texlive-science
+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...
+  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 

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

2012-06-26 Thread Rémy Oudompheng
Date: Tuesday, June 26, 2012 @ 16:24:30
  Author: remy
Revision: 162419

archrelease: copy trunk to testing-any

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

--+
 PKGBUILD |   49 ++
 texlive-science.maps |1 
 texlive.install  |   52 +
 3 files changed, 102 insertions(+)

Copied: texlive-science/repos/testing-any/PKGBUILD (from rev 162418, 
texlive-science/trunk/PKGBUILD)
===
--- testing-any/PKGBUILD(rev 0)
+++ testing-any/PKGBUILD2012-06-26 20:24:30 UTC (rev 162419)
@@ -0,0 +1,49 @@
+# Maintainer: Rémy Oudompheng r...@archlinux.org
+
+pkgname=texlive-science
+pkgver=2012.26607
+_revnr=${pkgver#2012.}
+pkgrel=1
+pkgdesc=TeX Live - Typesetting for natural and computer sciences
+license=('GPL')
+arch=(any)
+depends=('texlive-core')
+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=('c2cf39a0cf08128e7a8e99fe4a975067'
+ '72206bb981d3d491df018e0e13334be5')
+
+build() {
+   cd $srcdir
+   for p in *.tar.xz; do
+  bsdtar -xf $p
+   done
+   rm -rf {tlpkg,doc,source} || true
+}
+
+package() {
+   cd $srcdir
+   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/ulqda/ulqda.pl $pkgdir/usr/bin/ulqda
+}

Copied: texlive-science/repos/testing-any/texlive-science.maps (from rev 
162418, texlive-science/trunk/texlive-science.maps)
===
--- testing-any/texlive-science.maps(rev 0)
+++ testing-any/texlive-science.maps2012-06-26 20:24:30 UTC (rev 162419)
@@ -0,0 +1 @@
+Map chemarrow.map

Copied: texlive-science/repos/testing-any/texlive.install (from rev 162418, 
texlive-science/trunk/texlive.install)
===
--- testing-any/texlive.install (rev 0)
+++ testing-any/texlive.install 2012-06-26 20:24:30 UTC (rev 162419)
@@ -0,0 +1,52 @@
+PKGNAME=texlive-science
+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'