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, 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 d17da1010ecc..6889f1542256 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 |