aboutsummaryrefslogtreecommitdiff
path: root/office
diff options
context:
space:
mode:
authorAlexander Verbovetsky <alik@ejik.org>2020-06-15 16:34:37 +0700
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2020-06-15 16:34:37 +0700
commit968b12d50adfc3fa009dd48eb85dabbea67ed553 (patch)
tree75654d2a2350042e79f9c9abe47dbe0104a470d5 /office
parente9a884202b782e26ba9679c928b9adeda4836af6 (diff)
office/mtp2-fonts: Update HOMEPAGE.
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'office')
-rw-r--r--office/mtp2-fonts/mtp2-fonts.SlackBuild9
-rw-r--r--office/mtp2-fonts/mtp2-fonts.info2
-rw-r--r--office/mtp2-fonts/slack-desc2
3 files changed, 9 insertions, 4 deletions
diff --git a/office/mtp2-fonts/mtp2-fonts.SlackBuild b/office/mtp2-fonts/mtp2-fonts.SlackBuild
index b4429c26c012..dc76fa06fbf8 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, Alexander Verbovetsky, Moscow, Russia
+# Copyright 2017-2020, Alexander Verbovetsky, Moscow, Russia
# All rights reserved.
#
# Redistribution and use of this script, with or without modification, is
@@ -24,7 +24,7 @@
PRGNAM=mtp2-fonts
VERSION=${VERSION:-2.1a}
-BUILD=${BUILD:-1}
+BUILD=${BUILD:-2}
TAG=${TAG:-_SBo}
CWD=$(pwd)
@@ -55,6 +55,11 @@ find -L . \
-o -perm 440 -o -perm 400 \) -exec chmod 644 {} \;
rm -r texmf/dvips
+
+sed --in-place \
+ -e 's/^\\alloc@0\\count\\countdef\\insc@unt/\\newcount/' \
+ texmf/tex/latex/mtpro2/mtpro2.sty
+
find . \
\( -name "*.txt" -o -name "*.tex" -o -name "*.fd" -o -name "*.map" \
-o -name "*.sty" -o -name "*.tpm" \) -exec sed -i 's/\r$//' {} \;
diff --git a/office/mtp2-fonts/mtp2-fonts.info b/office/mtp2-fonts/mtp2-fonts.info
index 64a73176cdb7..35257db40a4c 100644
--- a/office/mtp2-fonts/mtp2-fonts.info
+++ b/office/mtp2-fonts/mtp2-fonts.info
@@ -1,6 +1,6 @@
PRGNAM="mtp2-fonts"
VERSION="2.1a"
-HOMEPAGE="http://pctex.com/mtpro2.html"
+HOMEPAGE="https://pctex.com/mtpro2.html"
DOWNLOAD="http://mirrors.ctan.org/fonts/mtp2lite.zip"
MD5SUM="afd69b0d82ec8b32b7b012e5cfcd7d00"
DOWNLOAD_x86_64=""
diff --git a/office/mtp2-fonts/slack-desc b/office/mtp2-fonts/slack-desc
index 58f93e53d538..6656d08ebfce 100644
--- a/office/mtp2-fonts/slack-desc
+++ b/office/mtp2-fonts/slack-desc
@@ -16,4 +16,4 @@ mtp2-fonts: consists of 15 fonts and replaces the Computer Modern math fonts. Th
mtp2-fonts: complete set consists of 68 fonts and provides also script, curly,
mtp2-fonts: Fraktur, bold math, blackboard bold fonts, and AMS symbols.
mtp2-fonts:
-mtp2-fonts: Homepage: http://pctex.com/mtpro2.html
+mtp2-fonts: Homepage: https://pctex.com/mtpro2.html