diff options
Diffstat (limited to 'system/ttf-xo-fonts')
-rw-r--r-- | system/ttf-xo-fonts/slack-desc | 2 | ||||
-rw-r--r-- | system/ttf-xo-fonts/ttf-xo-fonts.SlackBuild | 19 | ||||
-rw-r--r-- | system/ttf-xo-fonts/ttf-xo-fonts.info | 8 |
3 files changed, 18 insertions, 11 deletions
diff --git a/system/ttf-xo-fonts/slack-desc b/system/ttf-xo-fonts/slack-desc index 37e45d5fdc..f5c323bb80 100644 --- a/system/ttf-xo-fonts/slack-desc +++ b/system/ttf-xo-fonts/slack-desc @@ -14,6 +14,6 @@ ttf-xo-fonts: on Latin and Cyrillic scripts. XO Fonts are metrically compatible ttf-xo-fonts: common Microsoft and Monotype fonts and are designed as an alternative ttf-xo-fonts: to them. ttf-xo-fonts: -ttf-xo-fonts: Homepage: https://fonts.myoffice.ru +ttf-xo-fonts: Homepage: https://myoffice.ru/products/fonts/ ttf-xo-fonts: ttf-xo-fonts: diff --git a/system/ttf-xo-fonts/ttf-xo-fonts.SlackBuild b/system/ttf-xo-fonts/ttf-xo-fonts.SlackBuild index 907790f575..2754a22c23 100644 --- a/system/ttf-xo-fonts/ttf-xo-fonts.SlackBuild +++ b/system/ttf-xo-fonts/ttf-xo-fonts.SlackBuild @@ -1,8 +1,8 @@ -#!/bin/sh +#!/bin/bash # Slackware build script for ttf-xo-fonts -# Copyright 2020, Alexander Verbovetsky, Moscow, Russia +# Copyright 2020-2023, Alexander Verbovetsky, Moscow, Russia # All rights reserved. # # Redistribution and use of this script, with or without modification, is @@ -22,14 +22,21 @@ # OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF # ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. +cd $(dirname $0) ; CWD=$(pwd) + PRGNAM=ttf-xo-fonts -VERSION=${VERSION:-2019} +VERSION=${VERSION:-2022} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} +PKGTYPE=${PKGTYPE:-tgz} ARCH=noarch -CWD=$(pwd) +if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then + echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE" + exit 0 +fi + TMP=${TMP:-/tmp/SBo} PKG=$TMP/package-$PRGNAM OUTPUT=${OUTPUT:-/tmp} @@ -39,7 +46,7 @@ set -e rm -rf $PKG mkdir -p $TMP $PKG $OUTPUT mkdir -p $PKG/usr/share/fonts/TTF -unzip -j $CWD/all_fonts_myoffice.zip *.ttf -x "*__*" -d $PKG/usr/share/fonts/TTF +unzip -j $CWD/MyOffice_XO_Fonts_1.1.zip *.ttf -x "*__*" -d $PKG/usr/share/fonts/TTF cd $PKG/usr/share/fonts/TTF @@ -58,4 +65,4 @@ cat $CWD/slack-desc > $PKG/install/slack-desc cat $CWD/doinst.sh > $PKG/install/doinst.sh cd $PKG -/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.${PKGTYPE:-tgz} +/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE diff --git a/system/ttf-xo-fonts/ttf-xo-fonts.info b/system/ttf-xo-fonts/ttf-xo-fonts.info index f62e5b18cf..398a60f86d 100644 --- a/system/ttf-xo-fonts/ttf-xo-fonts.info +++ b/system/ttf-xo-fonts/ttf-xo-fonts.info @@ -1,8 +1,8 @@ PRGNAM="ttf-xo-fonts" -VERSION="2019" -HOMEPAGE="https://fonts.myoffice.ru" -DOWNLOAD="https://fonts.myoffice.ru/wp-content/themes/template/fonts_page/files/all_fonts_myoffice.zip" -MD5SUM="16d1ea41f10ad0ecdb2afcac3ee56361" +VERSION="2022" +HOMEPAGE="https://myoffice.ru/products/fonts/" +DOWNLOAD="https://myoffice.ru/files/fonts/MyOffice_XO_Fonts_1.1.zip" +MD5SUM="076c0cd2520074b3397bf4dbb2d02f3a" DOWNLOAD_x86_64="" MD5SUM_x86_64="" REQUIRES="" |