diff options
Diffstat (limited to 'system/symbola-font-ttf/symbola-font-ttf.SlackBuild')
-rw-r--r-- | system/symbola-font-ttf/symbola-font-ttf.SlackBuild | 16 |
1 files changed, 10 insertions, 6 deletions
diff --git a/system/symbola-font-ttf/symbola-font-ttf.SlackBuild b/system/symbola-font-ttf/symbola-font-ttf.SlackBuild index 5a9a1e9475fce..0c3420e93ec7f 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 |