[arch-commits] Commit in texlive-pictures/trunk (PKGBUILD texlive.install)
Rémy Oudompheng
remy at archlinux.org
Tue Aug 2 20:40:55 UTC 2016
Date: Tuesday, August 2, 2016 @ 20:40:54
Author: remy
Revision: 272908
upgpkg: texlive-pictures 2016.41299-2
Remove obsolete install file.
Modified:
texlive-pictures/trunk/PKGBUILD
Deleted:
texlive-pictures/trunk/texlive.install
-----------------+
PKGBUILD | 3 +--
texlive.install | 52 ----------------------------------------------------
2 files changed, 1 insertion(+), 54 deletions(-)
Modified: PKGBUILD
===================================================================
--- PKGBUILD 2016-08-02 20:40:42 UTC (rev 272907)
+++ PKGBUILD 2016-08-02 20:40:54 UTC (rev 272908)
@@ -4,7 +4,7 @@
pkgname=texlive-pictures
pkgver=2016.41299
_revnr=${pkgver#2016.}
-pkgrel=1
+pkgrel=2
pkgdesc="TeX Live - Packages for drawings graphics"
license=('GPL')
arch=(any)
@@ -13,7 +13,6 @@
url='http://tug.org/texlive/'
source=("https://sources.archlinux.org/other/texlive/$pkgname-$pkgver-src.zip" "$pkgname.maps")
options=('!emptydirs')
-install=texlive.install
md5sums=('eb472d7206189f1318c1d2a0bd22f6f2'
'7d08cb8ade87687bd8676f8e8ba20697')
Deleted: texlive.install
===================================================================
--- texlive.install 2016-08-02 20:40:42 UTC (rev 272907)
+++ texlive.install 2016-08-02 20:40:54 UTC (rev 272908)
@@ -1,52 +0,0 @@
-PKGNAME="texlive-pictures"
-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