From 6fd8abb32ec0353445ef04c14e492395edce46a8 Mon Sep 17 00:00:00 2001
From: Alexander Verbovetsky <alik@ejik.org>
Date: Sat, 22 Oct 2022 07:05:32 +0100
Subject: system/symbola-font-ttf: Updated for version 14.00.

Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
---
 system/symbola-font-ttf/symbola-font-ttf.SlackBuild | 11 +++++------
 system/symbola-font-ttf/symbola-font-ttf.info       | 10 +++++-----
 2 files changed, 10 insertions(+), 11 deletions(-)

(limited to 'system/symbola-font-ttf')

diff --git a/system/symbola-font-ttf/symbola-font-ttf.SlackBuild b/system/symbola-font-ttf/symbola-font-ttf.SlackBuild
index 4a9363f88131f..03c7feae3c658 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-2022 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();'
 
diff --git a/system/symbola-font-ttf/symbola-font-ttf.info b/system/symbola-font-ttf/symbola-font-ttf.info
index c2a8c85655970..7605f7470e089 100644
--- a/system/symbola-font-ttf/symbola-font-ttf.info
+++ b/system/symbola-font-ttf/symbola-font-ttf.info
@@ -1,10 +1,10 @@
 PRGNAM="symbola-font-ttf"
-VERSION="13.00"
+VERSION="14.00"
 HOMEPAGE="https://dn-works.com/ufas/"
-DOWNLOAD="https://dn-works.com/wp-content/uploads/2020/UFAS-Fonts/Symbola.zip \
-          https://dn-works.com/wp-content/uploads/2020/UFAS-Docs/License.pdf"
-MD5SUM="a14dda162bd1cb407059f62d77fcc5ea \
-        bb6edb616a86a98826cd269486b095b5"
+DOWNLOAD="https://dn-works.com/wp-content/uploads/2021/UFAS121921/Symbola.pdf \
+          https://dn-works.com/wp-content/uploads/2021/UFAS121921/License.pdf"
+MD5SUM="deef28dd48f791021195d95a594e7f0c \
+        8da585bd4ec90b22d6cf21a778e976c3"
 DOWNLOAD_x86_64=""
 MD5SUM_x86_64=""
 REQUIRES="fontforge"
-- 
cgit v1.2.3