diff --git a/office/mtp2-fonts/README b/office/mtp2-fonts/README index 152fa6b4f0..471afcfd40 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 690a5f6ef8..0000000000 --- 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 3b73658dfb..0000000000 --- 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 407fb2b8a8..ee6881fb9a 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 bf61a4ce76..14027c37bc 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"