summaryrefslogtreecommitdiffstats
path: root/office
diff options
context:
space:
mode:
author Alexander Verbovetsky2020-06-15 11:34:37 +0200
committer Willy Sudiarto Raharjo2020-06-15 11:34:37 +0200
commit968b12d50adfc3fa009dd48eb85dabbea67ed553 (patch)
tree75654d2a2350042e79f9c9abe47dbe0104a470d5 /office
parente9a884202b782e26ba9679c928b9adeda4836af6 (diff)
downloadslackbuilds-968b12d50adfc3fa009dd48eb85dabbea67ed553.tar.gz
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 b4429c26c0..dc76fa06fb 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 64a73176cd..35257db40a 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 58f93e53d5..6656d08ebf 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