diff options
author | haawda | 2017-05-21 00:01:32 +0200 |
---|---|---|
committer | haawda | 2017-05-21 00:01:32 +0200 |
commit | 08e393042353b98eb63d4119b89bd0129f48e4d2 (patch) | |
tree | 78ae5e5171c482a5c3a2153288f38551ae44bacc | |
parent | ab51259d41d5785cd9ceb8cf703a6f0d3c252e82 (diff) | |
download | aur-08e393042353b98eb63d4119b89bd0129f48e4d2.tar.gz |
remove install file
-rw-r--r-- | .SRCINFO | 5 | ||||
-rw-r--r-- | PKGBUILD | 3 | ||||
-rw-r--r-- | texlive-garamondx.install | 52 |
3 files changed, 4 insertions, 56 deletions
@@ -1,9 +1,10 @@ +# Generated by mksrcinfo v8 +# Sat May 20 22:00:50 UTC 2017 pkgbase = texlive-garamondx pkgdesc = URW Garamond No8 Adobe Type1 fonts from CTAN (for texlive) pkgver = 1.17 - pkgrel = 1 + pkgrel = 2 url = http://www.ctan.org/tex-archive/fonts/garamondx - install = texlive-garamondx.install arch = any license = CUSTOM:alladin depends = texlive-core @@ -2,13 +2,12 @@ pkgname=texlive-garamondx pkgver=1.17 -pkgrel=1 +pkgrel=2 pkgdesc="URW Garamond No8 Adobe Type1 fonts from CTAN (for texlive)" arch=('any') license=('CUSTOM:alladin') url=http://www.ctan.org/tex-archive/fonts/garamondx depends=(texlive-core) -install=$pkgname.install source=(http://mirrors.ctan.org/install/fonts/garamondx.tds.zip garamondx.maps) md5sums=('853812ddb2b54a117db6039916dd394b' '80761a71120a9861400927b591ac463f') diff --git a/texlive-garamondx.install b/texlive-garamondx.install deleted file mode 100644 index d29fe08a3599..000000000000 --- a/texlive-garamondx.install +++ /dev/null @@ -1,52 +0,0 @@ -PKGNAME="garamondx" -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." -} |