summaryrefslogtreecommitdiff
path: root/system
diff options
context:
space:
mode:
authorAlexander Verbovetsky <alik@ejik.org>2020-04-01 19:03:40 +0700
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2020-04-01 19:03:40 +0700
commit37f113db4d3d29c07d5d986010787fac0a573373 (patch)
tree80bdb50829838a57942893414e5a0e2f78612fc8 /system
parentf7775ac8fb5b45723ffba16fcfd5b9965c27aa05 (diff)
downloadslackbuilds-37f113db4d3d29c07d5d986010787fac0a573373.tar.gz
system/symbola-font-ttf: Updated for version 13.00.
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'system')
-rw-r--r--system/symbola-font-ttf/README4
-rw-r--r--system/symbola-font-ttf/doinst.sh5
-rw-r--r--system/symbola-font-ttf/slack-desc2
-rw-r--r--system/symbola-font-ttf/symbola-font-ttf.SlackBuild16
-rw-r--r--system/symbola-font-ttf/symbola-font-ttf.info16
5 files changed, 25 insertions, 18 deletions
diff --git a/system/symbola-font-ttf/README b/system/symbola-font-ttf/README
index faea3bae56..9744e70cd7 100644
--- a/system/symbola-font-ttf/README
+++ b/system/symbola-font-ttf/README
@@ -1,4 +1,6 @@
-Symbola is a ttf font, which contains many scripts, special symbols,
+Symbola is a otf font, which contains many scripts, special symbols,
and emoji characters supported by The Unicode Standard.
Symbola is free strictly for personal, non-commercial use.
+
+This script also creates the ttf font file using the FontForge.
diff --git a/system/symbola-font-ttf/doinst.sh b/system/symbola-font-ttf/doinst.sh
index 883c47ac0a..ed20b4faf0 100644
--- a/system/symbola-font-ttf/doinst.sh
+++ b/system/symbola-font-ttf/doinst.sh
@@ -1,6 +1,9 @@
# Update the X font indexes:
if [ -x /usr/bin/mkfontdir ]; then
- ( cd /usr/share/fonts/TTF
+ ( cd /usr/share/fonts/OTF
+ mkfontscale .
+ mkfontdir .
+ cd /usr/share/fonts/TTF
mkfontscale .
mkfontdir .
)
diff --git a/system/symbola-font-ttf/slack-desc b/system/symbola-font-ttf/slack-desc
index 2204d7d492..7276850d5a 100644
--- a/system/symbola-font-ttf/slack-desc
+++ b/system/symbola-font-ttf/slack-desc
@@ -13,7 +13,7 @@ symbola-font-ttf: and emoji characters supported by The Unicode Standard.
symbola-font-ttf:
symbola-font-ttf: Symbola is free strictly for personal, non-commercial use.
symbola-font-ttf:
-symbola-font-ttf: Homepage: http://users.teilar.gr/~g1951d/
+symbola-font-ttf: Homepage: https://dn-works.com/ufas/
symbola-font-ttf:
symbola-font-ttf:
symbola-font-ttf:
diff --git a/system/symbola-font-ttf/symbola-font-ttf.SlackBuild b/system/symbola-font-ttf/symbola-font-ttf.SlackBuild
index 5a9a1e9475..0c3420e93e 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-2019 Alexander Verbovetsky, Moscow, Russia
+# Copyright 2016-2020 Alexander Verbovetsky, Moscow, Russia
# All rights reserved.
#
# Redistribution and use of this script, with or without modification, is
@@ -23,8 +23,8 @@
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
PRGNAM=symbola-font-ttf
-VERSION=${VERSION:-12.00}
-BUILD=${BUILD:-3}
+VERSION=${VERSION:-13.00}
+BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
ARCH=noarch
@@ -44,11 +44,15 @@ mkdir $PRGNAM-$VERSION
cd $PRGNAM-$VERSION
unzip $CWD/Symbola.zip
-mkdir -p $PKG/usr/share/fonts/TTF/
-install -m 0644 -o root -g root Symbola_Hinted.ttf $PKG/usr/share/fonts/TTF/
+fontforge -lang=ff -c 'Open("Symbola.otf");Generate("Symbola.ttf");Close();'
+
+mkdir -p $PKG/usr/share/fonts/{O,T}TF/
+install -m 0644 -o root -g root Symbola.otf $PKG/usr/share/fonts/OTF/
+install -m 0644 -o root -g root Symbola.ttf $PKG/usr/share/fonts/TTF/
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
-install -m 0644 -o root -g root $CWD/Symbola.pdf $CWD/License.pdf $PKG/usr/doc/$PRGNAM-$VERSION
+install -m 0644 -o root -g root Symbola.odt Symbola.pdf $CWD/License.pdf \
+ $PKG/usr/doc/$PRGNAM-$VERSION
cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
mkdir -p $PKG/install
diff --git a/system/symbola-font-ttf/symbola-font-ttf.info b/system/symbola-font-ttf/symbola-font-ttf.info
index 26e17fea78..c2a8c85655 100644
--- a/system/symbola-font-ttf/symbola-font-ttf.info
+++ b/system/symbola-font-ttf/symbola-font-ttf.info
@@ -1,14 +1,12 @@
PRGNAM="symbola-font-ttf"
-VERSION="12.00"
-HOMEPAGE="http://users.teilar.gr/~g1951d/"
-DOWNLOAD="https://web.archive.org/web/20191029215733/users.teilar.gr/~g1951d/Symbola.zip \
- https://web.archive.org/web/20191029215733/users.teilar.gr/~g1951d/Symbola.pdf \
- https://web.archive.org/web/20191029215733/users.teilar.gr/~g1951d/License.pdf"
-MD5SUM="be7b84a1e5ba3fce6bf73338aa7013cc \
- b1f8ae8b5e8c77b355fe5146808b63ff \
- b4e40c1c0e7acb7184f6341f303a1bf7"
+VERSION="13.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_x86_64=""
MD5SUM_x86_64=""
-REQUIRES=""
+REQUIRES="fontforge"
MAINTAINER="Alexander Verbovetsky"
EMAIL="alik@ejik.org"