[arch-commits] Commit in texlive-fontsextra/trunk (3 files)
François Charette
francois at archlinux.org
Sat Jun 26 14:42:09 UTC 2010
Date: Saturday, June 26, 2010 @ 10:42:09
Author: francois
Revision: 84100
prerelease of texlive 2010
Modified:
texlive-fontsextra/trunk/PKGBUILD
texlive-fontsextra/trunk/texlive-fontsextra.maps
texlive-fontsextra/trunk/texlive.install
-------------------------+
PKGBUILD | 27 ++++++++++++++-------------
texlive-fontsextra.maps | 8 ++------
texlive.install | 26 +++++++++++++-------------
3 files changed, 29 insertions(+), 32 deletions(-)
Modified: PKGBUILD
===================================================================
--- PKGBUILD 2010-06-26 14:42:04 UTC (rev 84099)
+++ PKGBUILD 2010-06-26 14:42:09 UTC (rev 84100)
@@ -1,8 +1,7 @@
-# $Id$
# Maintainer: Firmicus <firmicus āt gmx dōt net>
pkgname=texlive-fontsextra
-pkgver=2009.16617
+pkgver=2010.18995
pkgrel=1
pkgdesc="TeX Live - all sorts of extra fonts"
license=('GPL')
@@ -12,23 +11,25 @@
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=('4f5643400c9c0049d386fc5a810a0a3d'
- '0ddd05a2e3722be5881c9a95f3b37ff8')
+md5sums=('a93c42c465b5e42c866bb3aab0681adf'
+ '88a2f1df482bc46abdb8a987b3cc83c2')
build() {
- cd $srcdir
- install -m755 -d $pkgdir/usr/share/texmf-var/arch/installedpkgs || return 1
- sed -i '/^#/d' CONTENTS || return 1
- _revnr=`echo $pkgver | sed 's/2009\.//'`
- install -m644 CONTENTS $pkgdir/usr/share/texmf-var/arch/installedpkgs/${pkgname}_${_revnr}.pkgs || return 1
- install -m644 $pkgname.maps $pkgdir/usr/share/texmf-var/arch/installedpkgs/ || return 1
- for p in *.tar.xz; do
+ for p in *.tar.xz; do
bsdtar -xf $p || return 1
done
- rm -rf {tlpkg,doc,source}
+ rm -rf {tlpkg,doc,source} || true
+}
+package() {
+ install -m755 -d $pkgdir/var/lib/texmf/arch/installedpkgs || return 1
+ sed -i '/^#/d' CONTENTS || return 1
+ _revnr=`echo $pkgver | sed 's/2010\.//'`
+ install -m644 CONTENTS $pkgdir/var/lib/texmf/arch/installedpkgs/${pkgname}_${_revnr}.pkgs || return 1
+ install -m644 $pkgname.maps $pkgdir/var/lib/texmf/arch/installedpkgs/ || return 1
install -m755 -d $pkgdir/usr/share || return 1
- wanteddirs=$(for d in *; do test -d $d && [[ $d != texmf* ]] && echo $d; done)
+ wanteddirs=$(for d in *; do test -d $d && [[ $d != texmf* ]] && echo $d; done) || true
for dir in $wanteddirs; do
find $dir -type d -exec install -d -m755 $pkgdir/usr/share/texmf-dist/'{}' \; || return 1
find $dir -type f -exec install -m644 '{}' $pkgdir/usr/share/texmf-dist/'{}' \; || return 1
Modified: texlive-fontsextra.maps
===================================================================
--- texlive-fontsextra.maps 2010-06-26 14:42:04 UTC (rev 84099)
+++ texlive-fontsextra.maps 2010-06-26 14:42:09 UTC (rev 84100)
@@ -32,6 +32,7 @@
Map aurical.map
Map belleek.map
Map bera.map
+Map ccicons.map
Map cm-lgc.map
Map cmin.map
Map cyklop.map
@@ -51,6 +52,7 @@
Map gfsdidot.map
Map gfsneohellenic.map
Map gfssolomos.map
+Map gptimes.map
Map icelandic.map
Map iwona.map
Map kpfonts.map
@@ -75,12 +77,6 @@
Map yvo.map
Map yvt.map
MixedMap allrunes.map
-MixedMap cm-super-t1.map
-MixedMap cm-super-t2a.map
-MixedMap cm-super-t2b.map
-MixedMap cm-super-t2c.map
-MixedMap cm-super-ts1.map
-MixedMap cm-super-x2.map
MixedMap cmll.map
MixedMap hfbright.map
MixedMap lxfonts.map
Modified: texlive.install
===================================================================
--- texlive.install 2010-06-26 14:42:04 UTC (rev 84099)
+++ texlive.install 2010-06-26 14:42:09 UTC (rev 84100)
@@ -1,5 +1,5 @@
PKGNAME="texlive-fontsextra"
-UPDMAP="/usr/share/texmf-config/web2c/updmap.cfg"
+UPDMAP="/etc/texmf/web2c/updmap.cfg"
SYNCWITHTREES=''
NEWMAPS=`mktemp`
cat <<EOF > $NEWMAPS
@@ -37,6 +37,7 @@
Map aurical.map
Map belleek.map
Map bera.map
+Map ccicons.map
Map cm-lgc.map
Map cmin.map
Map cyklop.map
@@ -56,6 +57,7 @@
Map gfsdidot.map
Map gfsneohellenic.map
Map gfssolomos.map
+Map gptimes.map
Map icelandic.map
Map iwona.map
Map kpfonts.map
@@ -80,12 +82,6 @@
Map yvo.map
Map yvt.map
MixedMap allrunes.map
-MixedMap cm-super-t1.map
-MixedMap cm-super-t2a.map
-MixedMap cm-super-t2b.map
-MixedMap cm-super-t2c.map
-MixedMap cm-super-ts1.map
-MixedMap cm-super-x2.map
MixedMap cmll.map
MixedMap hfbright.map
MixedMap lxfonts.map
@@ -100,15 +96,19 @@
post_install() {
echo ">>> texlive: updating the filename database..."
- texconfig-sys rehash
+ /usr/bin/mktexlsr
echo ">>> texlive: updating the fontmap files with updmap..."
- updmap-sys --quiet --nohash
+ /usr/bin/updmap-sys --quiet --nohash
echo " done."
}
pre_upgrade() {
- OLDMAPS="/usr/share/texmf-var/arch/installedpkgs/$PKGNAME.maps"
+ if [[ "$2" == 200* ]]; then
+ OLDMAPS="/usr/share/texmf-var/arch/installedpkgs/$PKGNAME.maps"
+ else # >= 2010
+ OLDMAPS="/var/lib/texmf/arch/installedpkgs/$PKGNAME.maps"
+ fi
if [ -f $OLDMAPS ] ; then
MAPSDIFF=`mktemp`
TOADD=`mktemp`
@@ -124,7 +124,7 @@
cat $TOADD >> $UPDMAP
fi
else
- echo "Warning: file $PKGNAME.maps not found"
+ echo "Warning: file $OLDMAPS not found"
echo "(ignore the above if updating from TL2008 or from TL2009 in testing)"
SYNCWITHTREES="--syncwithtrees"
fi
@@ -133,9 +133,9 @@
post_upgrade() {
echo ">>> texlive: updating the filename database..."
- texconfig-sys rehash
+ /usr/bin/mktexlsr
echo ">>> texlive: updating the fontmap files with updmap..."
- updmap-sys --quiet --nohash $SYNCWITHTREES
+ /usr/bin/updmap-sys --quiet --nohash $SYNCWITHTREES
echo " done."
}
More information about the arch-commits
mailing list