system/adobe-source-sans-pro-font: Updated for version 3.052.

Signed-off-by: Matteo Bernardini <ponce@slackbuilds.org>

Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
This commit is contained in:
Matteo Bernardini 2023-06-26 20:09:17 +02:00 committed by Willy Sudiarto Raharjo
parent 3e5b9d124c
commit e9798aafed
No known key found for this signature in database
GPG key ID: 3F617144D7238786
3 changed files with 15 additions and 12 deletions

View file

@ -1,7 +1,10 @@
#!/bin/bash
# Slackware build script for adobe-source-sans-pro-font
# Copyright (c) 2012 Daniel LEVAI
# Copyright (c) 2020 Matteo Bernardini <ponce@slackbuilds.org>, Pisa, Italy
# Copyright (c) 2012-2019 Dugan Chen
# Copyright (c) 2019-2023 Matteo Bernardini
# All rights reserved.
#
# * Redistribution and use in source and binary forms, with or without
@ -24,7 +27,7 @@
# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
# 20220212 bkw: Modified by SlackBuilds.org, updated for v3.042R.
# 20220212 bkw: Modified by SlackBuilds.org, updated for v3.046R.
# Note to whoever's updating this in the future: don't get the source
# tarball or zip file (with the archive/refs/tags URL), it doesn't
# contain the compiled OTF fonts (only the source, which we don't have
@ -35,7 +38,7 @@ cd $(dirname $0) ; CWD=$(pwd)
PRGNAM=adobe-source-sans-pro-font
SRCNAM=source-sans
VERSION=${VERSION:-3.046R}
VERSION=${VERSION:-3.052}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
PKGTYPE=${PKGTYPE:-tgz}
@ -56,11 +59,11 @@ set -e
rm -rf $PKG
mkdir -p $TMP $PKG $OUTPUT
cd $TMP
rm -rf $SRCNAM-$VERSION
rm -rf $SRCNAM-${VERSION}R
# 20220212 bkw: careful, warrior! no top-level dir in zip file!
mkdir $SRCNAM-$VERSION
cd $SRCNAM-$VERSION
unzip $CWD/OTF-$SRCNAM-$VERSION.zip
mkdir $SRCNAM-${VERSION}R
cd $SRCNAM-${VERSION}R
unzip $CWD/OTF-$SRCNAM-${VERSION}R.zip
chown -R root:root .
find . -type d -a -exec chmod 755 {} \+
find . -type f -a -exec chmod 644 {} \+

View file

@ -1,8 +1,8 @@
PRGNAM="adobe-source-sans-pro-font"
VERSION="3.046R"
VERSION="3.052"
HOMEPAGE="http://adobe-fonts.github.io/source-sans-pro"
DOWNLOAD="https://github.com/adobe-fonts/source-sans/releases/download/3.046R/OTF-source-sans-3.046R.zip"
MD5SUM="213efaabd828bbc699c3a97c90e2ee40"
DOWNLOAD="https://github.com/adobe-fonts/source-sans/releases/download/3.052R/OTF-source-sans-3.052R.zip"
MD5SUM="57b037a28ba098b9829ef5b70b992d98"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES=""

View file

@ -1,7 +1,7 @@
# Update the X font indexes:
if [ -x /usr/bin/mkfontdir ]; then
/usr/bin/mkfontscale /usr/share/fonts/OTF
/usr/bin/mkfontdir /usr/share/fonts/OTF
/usr/bin/mkfontscale usr/share/fonts/OTF
/usr/bin/mkfontdir usr/share/fonts/OTF
fi
if [ -x /usr/bin/fc-cache ]; then
/usr/bin/fc-cache -f