summaryrefslogtreecommitdiff
path: root/system/symbola-font-ttf/symbola-font-ttf.SlackBuild
diff options
context:
space:
mode:
authorAlexander Verbovetsky <alik@ejik.org>2019-10-05 05:55:43 +0700
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2019-10-05 05:55:43 +0700
commit1d818ab65a8dcc0b6a1571224769202940c6203c (patch)
treea78ee21419f88239939a1f4f346ec39f92683f0e /system/symbola-font-ttf/symbola-font-ttf.SlackBuild
parentefecee2d6bd1a06e1663de7c23393ea4606cecf0 (diff)
downloadslackbuilds-1d818ab65a8dcc0b6a1571224769202940c6203c.tar.gz
system/symbola-font-ttf: Updated for version 12.00.
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'system/symbola-font-ttf/symbola-font-ttf.SlackBuild')
-rw-r--r--system/symbola-font-ttf/symbola-font-ttf.SlackBuild16
1 files changed, 5 insertions, 11 deletions
diff --git a/system/symbola-font-ttf/symbola-font-ttf.SlackBuild b/system/symbola-font-ttf/symbola-font-ttf.SlackBuild
index d17da1010e..6889f15422 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-2017 Alexander Verbovetsky, Moscow, Russia
+# Copyright 2016-2019 Alexander Verbovetsky, Moscow, Russia
# All rights reserved.
#
# Redistribution and use of this script, with or without modification, is
@@ -23,7 +23,7 @@
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
PRGNAM=symbola-font-ttf
-VERSION=${VERSION:-10.24}
+VERSION=${VERSION:-12.00}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
@@ -42,19 +42,13 @@ cd $TMP
rm -rf $PRGNAM-$VERSION
mkdir $PRGNAM-$VERSION
cd $PRGNAM-$VERSION
-unzip $CWD/symbola-font-ttf-${VERSION}.zip
-chown -R root:root .
-find -L . \
- \( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 \
- -o -perm 511 \) -exec chmod 755 {} \; -o \
- \( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \
- -o -perm 440 -o -perm 400 \) -exec chmod 644 {} \;
+unzip $CWD/Symbola.zip
mkdir -p $PKG/usr/share/fonts/TTF/
-cp -a hintedSymbola.ttf $PKG/usr/share/fonts/TTF/
+install -m 0644 -o root -g root Symbola_Hinted.ttf $PKG/usr/share/fonts/TTF/
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
-cp -a Symbola.pdf Symbola.odt $PKG/usr/doc/$PRGNAM-$VERSION
+install -m 0644 -o root -g root $CWD/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