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

Rémy Oudompheng remy at archlinux.org
Tue Sep 1 10:38:25 UTC 2015


    Date: Tuesday, September 1, 2015 @ 12:38:25
  Author: remy
Revision: 245167

archrelease: copy trunk to testing-any

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

-------------------------+
 PKGBUILD                |   47 +++++++++++++
 texlive-fontsextra.maps |  166 ++++++++++++++++++++++++++++++++++++++++++++++
 texlive.install         |   52 ++++++++++++++
 3 files changed, 265 insertions(+)

Copied: texlive-fontsextra/repos/testing-any/PKGBUILD (from rev 245166, texlive-fontsextra/trunk/PKGBUILD)
===================================================================
--- testing-any/PKGBUILD	                        (rev 0)
+++ testing-any/PKGBUILD	2015-09-01 10:38:25 UTC (rev 245167)
@@ -0,0 +1,47 @@
+# $Id$
+# Maintainer: Rémy Oudompheng <remy.archlinux.org>
+
+pkgname=texlive-fontsextra
+pkgver=2015.37556
+_revnr=${pkgver#2015.}
+pkgrel=1
+pkgdesc="TeX Live - all sorts of extra fonts"
+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")
+options=('!emptydirs')
+install=texlive.install
+md5sums=('3e6e37a5ccdd0a8bf73cf15c28cd207d'
+         'cec0968eced04ebb441d555749b13576')
+
+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
+}

Copied: texlive-fontsextra/repos/testing-any/texlive-fontsextra.maps (from rev 245166, texlive-fontsextra/trunk/texlive-fontsextra.maps)
===================================================================
--- testing-any/texlive-fontsextra.maps	                        (rev 0)
+++ testing-any/texlive-fontsextra.maps	2015-09-01 10:38:25 UTC (rev 245167)
@@ -0,0 +1,166 @@
+Map Acorn.map
+Map Alegreya.map
+Map AnnSton.map
+Map AnonymousPro.map
+Map ArrowsADF.map
+Map ArtNouv.map
+Map ArtNouvc.map
+Map BulletsADF.map
+Map Carrickc.map
+Map ClearSans.map
+Map CountriesOfEurope.map
+Map EBGaramond-Maths.map
+Map EBGaramond.map
+Map ESSTIX.map
+Map Eichenla.map
+Map Eileen.map
+Map EileenBl.map
+Map Elzevier.map
+Map GotIn.map
+Map GoudyIn.map
+Map Heuristica.map
+Map Kinigcap.map
+Map Konanur.map
+Map Kramer.map
+Map LibreBaskerville.map
+Map LibreCaslon.map
+Map LobsterTwo.map
+Map MnSymbol.map
+Map MorrisIn.map
+Map Nouveaud.map
+Map OrnementsADF.map
+Map PlayfairDisplay.map
+Map Raleway.map
+Map Romantik.map
+Map Rothdn.map
+Map RoyalIn.map
+Map Sanremo.map
+Map SourceCodePro.map
+Map SourceSansPro.map
+Map SourceSerifPro.map
+Map Starburst.map
+Map Typocaps.map
+Map XCharter.map
+Map Zallman.map
+Map accanthis.map
+Map antt.map
+Map ap.map
+Map archaicprw.map
+Map arev.map
+Map ascii.map
+Map aspectratio.map
+Map augie.map
+Map auncial.map
+Map aurical.map
+Map baskervaldx.map
+Map belleek.map
+Map bera.map
+Map bguq.map
+Map boondox.map
+Map cabin.map
+Map caladea.map
+Map calligra.map
+Map cantarell.map
+Map carlito.map
+Map ccicons.map
+Map cinzel.map
+Map clm.map
+Map cm-lgc.map
+Map cmin.map
+Map comfortaa.map
+Map cyklop.map
+Map dante.map
+Map dejavu-type1.map
+Map dictsym.map
+Map droid.map
+Map dstroke.map
+Map dutchcal.map
+Map epigrafica.map
+Map erewhon.map
+Map esrelation.map
+Map esvect.map
+Map fbb.map
+Map fdsymbol.map
+Map fetamont.map
+Map fge.map
+Map fira.map
+Map foekfont.map
+Map fonetika.map
+Map fourier-utopia-expert.map
+Map fourier.map
+Map frcursive.map
+Map gentium-type1.map
+Map gfsartemisia.map
+Map gfsbodoni.map
+Map gfscomplutum.map
+Map gfsdidot.map
+Map gfsneohellenic.map
+Map gfssolomos.map
+Map gillius.map
+Map gptimes.map
+Map hacm.map
+Map icelandic.map
+Map ipaex-type1.map
+Map iwona.map
+Map kpfonts.map
+Map kurier.map
+Map lato.map
+Map libertine.map
+Map linearA.map
+Map mathabx.map
+Map mdbch.map
+Map mdgreek.map
+Map mdici.map
+Map mdpgd.map
+Map mdpus.map
+Map mdput.map
+Map mdsymbol.map
+Map mdugm.map
+Map merriweather.map
+Map mintspirit.map
+Map newpx.map
+Map newtx.map
+Map newtxsf.map
+Map newtxtt.map
+Map ocrb.map
+Map opensans.map
+Map overlock.map
+Map paratype-type1.map
+Map pbsi.map
+Map phaistos.map
+Map prodint.map
+Map pxtx.map
+Map quattrocento.map
+Map recycle.map
+Map roboto.map
+Map rsfso.map
+Map sansmathaccent.map
+Map sansmathfonts.map
+Map sqrcaps.map
+Map starfont.map
+Map stix.map
+Map superiors.map
+Map tfrupee.map
+Map uaq.map
+Map ugq.map
+Map universalis.map
+Map ybd.map
+Map ybv.map
+Map yes.map
+Map yfrak.map
+Map yly.map
+Map yrd.map
+Map yv1.map
+Map yv2.map
+Map yv3.map
+Map yvo.map
+Map yvt.map
+Map zi4.map
+MixedMap allrunes.map
+MixedMap bbold.map
+MixedMap cmll.map
+MixedMap hfbright.map
+MixedMap lxfonts.map
+MixedMap pigpen.map
+MixedMap semaf.map
+MixedMap trajan.map

Copied: texlive-fontsextra/repos/testing-any/texlive.install (from rev 245166, texlive-fontsextra/trunk/texlive.install)
===================================================================
--- testing-any/texlive.install	                        (rev 0)
+++ testing-any/texlive.install	2015-09-01 10:38:25 UTC (rev 245167)
@@ -0,0 +1,52 @@
+PKGNAME="texlive-fontsextra"
+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 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." 
+}



More information about the arch-commits mailing list