diff options
author | Alexander Verbovetsky <alik@ejik.org> | 2023-05-26 20:40:19 +0100 |
---|---|---|
committer | Willy Sudiarto Raharjo <willysr@slackbuilds.org> | 2023-05-27 08:08:53 +0700 |
commit | 5a6e327dcf49237c7d28c51e71615ac96cd3e5f0 (patch) | |
tree | 721215d7209d61ec08a1ad3a357c159312ddbb74 /office | |
parent | d91f8b90e6435bcf7af5f5061939c586abfee648 (diff) |
office/mtp2-fonts: Updated for version 2.1a.
Signed-off-by: bedlam <dave@slackbuilds.org>
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'office')
-rw-r--r-- | office/mtp2-fonts/README | 15 | ||||
-rw-r--r-- | office/mtp2-fonts/doinst.sh | 3 | ||||
-rw-r--r-- | office/mtp2-fonts/douninst.sh | 3 | ||||
-rw-r--r-- | office/mtp2-fonts/mtp2-fonts.SlackBuild | 4 | ||||
-rw-r--r-- | office/mtp2-fonts/mtp2-fonts.info | 2 |
5 files changed, 17 insertions, 10 deletions
diff --git a/office/mtp2-fonts/README b/office/mtp2-fonts/README index 152fa6b4f0171..471afcfd40a0c 100644 --- a/office/mtp2-fonts/README +++ b/office/mtp2-fonts/README @@ -8,3 +8,18 @@ Fraktur, bold math, blackboard bold fonts, and AMS symbols. The complete fonts set zip archive should be named as mtp2fonts.zip.tpm or mtp2fonts.zip + +After installation, please rebuild the filename databases with the +command + +# mktexlsr + +and register the map file 'mtpro2.map' using the commands + +# updmap-sys --syncwithtrees +# updmap-sys --force --enable Map=mtpro2.map + +After removal, please disable the map file 'mtpro2.map' via the commands + +# mktexlsr +# updmap-sys --force --disable mtpro2.map diff --git a/office/mtp2-fonts/doinst.sh b/office/mtp2-fonts/doinst.sh deleted file mode 100644 index 690a5f6ef8148..0000000000000 --- a/office/mtp2-fonts/doinst.sh +++ /dev/null @@ -1,3 +0,0 @@ -chroot . /usr/bin/mktexlsr >/dev/null 2>&1 -chroot . /usr/bin/updmap-sys --force --enable Map=mtpro2.map >/dev/null 2>&1 -chroot . /usr/bin/mktexlsr >/dev/null 2>&1 diff --git a/office/mtp2-fonts/douninst.sh b/office/mtp2-fonts/douninst.sh deleted file mode 100644 index 3b73658dfbb9d..0000000000000 --- a/office/mtp2-fonts/douninst.sh +++ /dev/null @@ -1,3 +0,0 @@ -chroot . /usr/bin/mktexlsr >/dev/null 2>&1 -chroot . /usr/bin/updmap-sys --force --disable mtpro2.map >/dev/null 2>&1 -chroot . /usr/bin/mktexlsr >/dev/null 2>&1 diff --git a/office/mtp2-fonts/mtp2-fonts.SlackBuild b/office/mtp2-fonts/mtp2-fonts.SlackBuild index 407fb2b8a8a9d..ee6881fb9af95 100644 --- a/office/mtp2-fonts/mtp2-fonts.SlackBuild +++ b/office/mtp2-fonts/mtp2-fonts.SlackBuild @@ -2,7 +2,7 @@ # Slackware build script for mtp2-fonts -# Copyright 2017-2022, Alexander Verbovetsky, Moscow, Russia +# Copyright 2017-2023, Alexander Verbovetsky, Moscow, Russia # All rights reserved. # # Redistribution and use of this script, with or without modification, is @@ -82,8 +82,6 @@ cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild mkdir -p $PKG/install cat $CWD/slack-desc > $PKG/install/slack-desc -cat $CWD/doinst.sh > $PKG/install/doinst.sh -cat $CWD/douninst.sh > $PKG/install/douninst.sh cd $PKG /sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE diff --git a/office/mtp2-fonts/mtp2-fonts.info b/office/mtp2-fonts/mtp2-fonts.info index bf61a4ce76027..14027c37bc9f3 100644 --- a/office/mtp2-fonts/mtp2-fonts.info +++ b/office/mtp2-fonts/mtp2-fonts.info @@ -5,6 +5,6 @@ DOWNLOAD="https://mirrors.ctan.org/fonts/mtp2lite.zip" MD5SUM="afd69b0d82ec8b32b7b012e5cfcd7d00" DOWNLOAD_x86_64="" MD5SUM_x86_64="" -REQUIRES="" +REQUIRES="%README%" MAINTAINER="Alexander Verbovetsky" EMAIL="alik@ejik.org" |