summaryrefslogtreecommitdiffstats
path: root/system/symbola-font-ttf/symbola-font-ttf.SlackBuild
diff options
context:
space:
mode:
Diffstat (limited to 'system/symbola-font-ttf/symbola-font-ttf.SlackBuild')
-rw-r--r--system/symbola-font-ttf/symbola-font-ttf.SlackBuild11
1 files changed, 5 insertions, 6 deletions
diff --git a/system/symbola-font-ttf/symbola-font-ttf.SlackBuild b/system/symbola-font-ttf/symbola-font-ttf.SlackBuild
index 4a9363f881..8b30d591ef 100644
--- a/system/symbola-font-ttf/symbola-font-ttf.SlackBuild
+++ b/system/symbola-font-ttf/symbola-font-ttf.SlackBuild
@@ -2,7 +2,7 @@
# Slackware build script for symbola-font-ttf
-# Copyright 2016-2020 Alexander Verbovetsky, Moscow, Russia
+# Copyright 2016-2023 Alexander Verbovetsky, Moscow, Russia
# All rights reserved.
#
# Redistribution and use of this script, with or without modification, is
@@ -25,16 +25,13 @@
cd $(dirname $0) ; CWD=$(pwd)
PRGNAM=symbola-font-ttf
-VERSION=${VERSION:-13.00}
+VERSION=${VERSION:-14.00}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
PKGTYPE=${PKGTYPE:-tgz}
ARCH=noarch
-# If the variable PRINT_PACKAGE_NAME is set, then this script will report what
-# the name of the created package would be, and then exit. This information
-# could be useful to other scripts.
if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then
echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE"
exit 0
@@ -52,7 +49,9 @@ cd $TMP
rm -rf $PRGNAM-$VERSION
mkdir $PRGNAM-$VERSION
cd $PRGNAM-$VERSION
-unzip $CWD/Symbola.zip
+pdfdetach -saveall $CWD/Symbola.pdf
+qpdf --remove-attachment="Untitled Object" \
+ --remove-attachment="Untitled Object 2" $CWD/Symbola.pdf Symbola.pdf
fontforge -lang=ff -c 'Open("Symbola.otf");Generate("Symbola.ttf");Close();'